Skip to content

Mostakimul/travel-buddy-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

How to Run Locally

Clone the repository:

git clone https://github.com/Mostakimul/travel-buddy-server.git

Install dependencies:

cd travel-buddy-server
yarn install

Set up environment variables:

Create a .env file in the root directory and add the following:

NODE_ENV="development"
PORT=8000
DATABASE_URL="postgresql://<postgres_user>:<postgres_password>@localhost:5432/<database_name>?schema=public"
JWT_PRIVATE_KEY="your_private_key"
JWT_EXPIRE_IN="30d"
JWT_REFRESH_PRIVATE_KEY="refresh_private_key"
JWT_REFRESH_EXPIRE_IN="30d"

Run the server:

yarn dev

Travel Buddy API

Travel buddy is web server api where you can add your trip and find a travel buddy who can join you!

Technologies Used

  • Prisma
  • Node.js
  • Express.js
  • Postgres
  • Typescript
  • zod
  • bcrypt (for password hashing)
  • JSON Web Tokens (JWT) for authentication

API Documentation

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published