- Node.js
- NPM
- Clone the repo
git clone /~https://github.com/devboardorg/devboard-backend.git
- Install dependencies
npm install
- Create a
.env
file in the root directory and add the following variables
BACKEND_HOST_URL="http://localhost:8000"
CLOUDINARY_API_SECRET="add you own secret"
CLOUDINARY_API_KEY="add you own key"
CLOUDINARY_COLUD_NAME="add you own cloudinary name"
REFRESH_TOKEN_EXPIRY="10d"
REFRESH_TOKEN_SECRET="generate your self"
ACCESS_TOKEN_EXPIRY="1d"
ACCESS_TOKEN_SECRET="generate your self"
PORT="8000"
MONGODB_URI="use your own mongodb uri"
DATABASE_PASSWORD="your own password"
DATABASE_USERNAME="databse username"
- Run the server
npm run dev
- Open your browser and navigate to
http://localhost:8000
Contributions are welcome! Please follow these steps:
- Fork the repository
- Create a new branch for your feature or bug fix
- Make your changes and commit them with clear and descriptive commit messages
- Push your changes to your forked repository
- Create a pull request to the main repository
This project is licensed under the MIT License - see the LICENSE.md file for details