Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

18 Commits

Folders and files

Repository files navigation

Bike Rental API with NodeJS

Requirements

  • Install Docker, Git ... or Node, npm
  • Docker Hub account

Development

$ git clone https://github.com/dongsinhho/Bike-Rental-System.git
$ cd BikeRentalSystem
$ touch .env
$ vim .env
$ docker build -t tagName .
$ docker run -d -p portMachine:portContainer tagName

Environment variable

PORT=3000
DB_USER=
DB_PASSWORD=
MONGODB_URL=
JWT_SECRET_KEY=t
EXPIRES_IN=2d
STATION_EXPIRES_IN=100d
STATION_PORT=3456
  • Dockerize
  • Push Image to Docker Hub
  • Create Kubernetes Deployment.yml
  • Deploy API in kubernetes

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages