Skip to content

rakibul58/protech-server

Repository files navigation

Protech

Tips and Tricks Blog Site

Live URL

Table of Contents

Features

  • 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.

Technologies Used

  • Backend: Typescript, Node.js, Express
  • ODM: Mongoose
  • Database: MongoDB
  • Deployment: Vercel

Usage Guide

Follow the following instructions to run the application locally.

Step 1

Open command prompt(cmd) in folder where you want to add the project.

Step 2

Run the following command to clone the repository:

git clone https://github.com/rakibul58/protech-server.git

Step 3

Open the cloned folder or run the following in cmd:

cd protech-server

Step 4

In the cloned folder run the following command on cmd:

npm install

Step 5

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=

Step 6

Run the following code to start the development server:

npm start

Other commands can be found in package.json scripts

Usage

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.

Credentials

Admin Credentials

User Credentials

Contact

For any questions or feedback, please contact:

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published