An opinionated & minimalist JavaScript full-stack starter kit. Based on popular frameworks such as Node.js, React, MongoDB, Swagger, Babel and Docker.
- Node.js backend with Express
- Swagger API specification & validation
- MongoDB database
- React frontend
- Next generation JavaScript agnostic setup with Babel
- Multi-container Docker setup
- Handy Makefile commands for easy Docker orchestration
- Code style & code quality enforcement with ESLint & Prettier
- Mono-repo approach
Clone this repository and run the following command for a local dev environment:
make up
This will spin up a database instance running on
localhost:27017
, a backend instance running onlocalhost:1337
and a frontend instance running onlocalhost:3000
. Seedocker-compose.yml
for the detailed setup. You can specify also only a single service viamake up frontend
.
To run all test just enter:
make test
This will run all tests defined in the
backend
andfrontend
directories. Seedocker-compose.ci.yml
for the detailed setup. Can ideally be used in your CI runners.
TBD.