This application is tailored for a straightforward social media feed. This branch incorporates REST for enhanced functionality.
Before you begin, ensure you have Node.js version 18.16.0 or later installed on your machine.
To get started with the project, follow these steps:
-
Clone the repository from GitHub:
git clone <repository_url>
-
Install all dependencies:
npm install
The repository includes an .env.example file. You should create the following environment files:
.env: Default environment for new scripts
You can use the .env.example file as a template.
PORT - Integer: Port for running server MONGODB_URI - String: Connection string to DB JWT_SECRET - String: jwt secret word
To run the application, use the following commands:
-
Development:
npm run dev
Once the application is running, you can access it via http://localhost:8080/.