SubLevel is a Social Media Clone Backend API.
- User Authentication (Register and Login)
- Verify Email and Reset Password
- Create Posts
- Like Posts
- Reply on Posts
- Follow Users
- A Feed
-
Create an .env file and set the following variables: MONGO_URI, JWT_SECRET, JWT_LIFETIME with appropriate values.
-
Go to https://ethereal.email/ and copy the NodeMailer Config Data and paste it in the nodeMailerConfig file in the utils folder.
-
Ensure that NodeJS is installed on your computer.
-
Open the terminal and navigate to the project directory.
-
Run the following commands in the terminal:
npm install
npm start
-
Then go to
http://localhost:3000