This full-stack boilerplate contains all the components needed for a full-stack typescript application.
- Database: MongoDb
- Api Server: NestJS + Mongoose
- Web App: React + Redux
- NodeJS >= v10
- Yarn >= 1.0
- MongoDb instance
- Clone the repo
- Run
yarn
in the project root - Run
cd api
- Make a copy of the
.env.example
file named.env
- Input your MongoDb server details in the
MONGO-HOST=
field (this will be localhost if you are running mongo locally or in a docker container with host networking) - Run
cd ..
- Run
cd webapp
- Make a copy of the
.env.example
file named.env
- Run
cd ..
- Ensure the ApiServer details in the
API_HOST=
field are correct - Run
yarn start:dev
to spin up all the necessary applications