A monorepo (using yarn workspaces
) template for a web application using a React frontend, and a NodeJS backend.
typescript
for type-checkingeslint
for lintingjest
for testingprettier
(viaeslint
) for formattinghusky
for git hooks, such as applying formatting pre commits and fetching latest yarn packages post merges- Docker for containerization
- TravisCI for continuous integration
In the root of the project, the frontend package, and the backend package, copy the .env.example
to .env
and fill in the variables.
To start the project in development mode, run
docker-compose up -d
in the root of the project.
To access the logs run
docker-compose logs -f frontend
or
docker-compose logs -f backend
in the root of the project