This boilerplate is made to quickly prototype frontend + backend applications. Main techonologies:
- Please make sure to have an accessible SQL database instance (Postgresql recommended)
- Yarn
- Download dependencies for both projects running
yarn
- Backend:
- Create local .env file using the
yarn workspace backend create:env
command and replace the existing DB_ configurations of the generated.env
file - Run the backend in development mode by using
yarn workspace backend start:dev
- Browse swagger api docs at http://localhost:3000/api
- Create local .env file using the
- Frontend:
- Run the frontend in development mode by using
yarn workspace frontend start:dev
- Login at http://localhost:8000
- Run the frontend in development mode by using
- Execute the following command in-app directory:
$ docker-compose up -d