- User Authentication: Secure sign-up and login functionality.
- Post Search and Filter: User can filter Posts.
- Post Management: Users can view the posts, interact, upvote, comment and share.
- Admin: Manage Post, Users.
- Backend: Typescript, Node.js, Express
- ODM: Mongoose
- Database: MongoDB
- Deployment: Vercel
Follow the following instructions to run the application locally.
Open command prompt(cmd
) in folder where you want to add the project.
Run the following command to clone the repository:
git clone https://github.com/rakibul58/protech-server.git
Open the cloned folder or run the following in cmd:
cd protech-server
In the cloned folder run the following command on cmd:
npm install
On the root directory add a .env
file and add your database url and other environment variables bellow:
NODE_ENV=development
PORT=5000
DATABASE_URL=
BCRYPT_SALT_ROUNDS=
JWT_ACCESS_SECRET=
JWT_ACCESS_EXPIRES_IN=
JWT_REFRESH_SECRET=
JWT_REFRESH_EXPIRES_IN=
DEFAULT_PASSWORD=
BASE_URL=
STORE_ID=
SIGNATURE_KEY=
SENDER_EMAIL=
SENDER_APP_PASS=
RESET_PASS_UI_LINK=
BACKEND_URL=
Run the following code to start the development server:
npm start
Other commands can be found in package.json scripts
Once the application is set up and running, you can access it at http://localhost:5000 (or the appropriate port if specified differently). From there, you can create an account, log in, and start booking cars.
- Email: admin@protech.com
- Password: 123
- Email: student3@test.com
- Password: 123
For any questions or feedback, please contact:
- Name: Muhammed Rakibul Hasan
- Email: rhrahi14@gmail.com