To get a copy of the project up and running on your local machine, follow these steps:
-
Clone the repository
git clone https://github.com/your-username/social-working-club.git cd social-working-club
-
Install dependencies
npm install
Create a .env
file in the root directory and add the following environment variables. Replace the placeholder values with your own configuration.
PORT=5000
MONGO_URI=your_mongo_connection_string
JWT_SECRET=your_jwt_secret
ADMIN_USERNAME=admin
ADMIN_EMAIL=[email protected]
ADMIN_PASSWORD=admin_password
Start the server
npm start
Open your browser and go to http://localhost:5000