Application to register gym workouts using docker and nginx
- Clone this repository
git clone https://github.com/sararchh/projeto-rerofitness.git
- Install all dependencies
npm i
-
. Configure the
.env
file using the.env.example
file in each back and front directory (see "Running locally application or inside docker section" for details)BACKEND:
MONGO_FULL_URL=
JWT_SECRET=
JWT_REFRESH_SECRET=
JWT_EXPIRES=
PORT=
MONGO_INITDB_ROOT_USERNAME=
MONGO_INITDB_ROOT_PASSWORD=
FRONT:
VITE_API=http://localhost:80/api
- Execute server
npm run dev
- Build
npm run build
npm run build
npm start
npm run build
npm start
docker-compose up
http://localhost:80
Made with 💜 by Sara Rocha