Scaffold for a Docker based FullStack NodeJS Projects with a robust CI/CD Gitlab process
This project is an example/scaffold full-stack application that uses NodeJS with MySQL & Redis for the back-end, Angular for the front-end, with CI/CD powered by Gitlab.
- Add example of sequalize MySQL model
- Add example of redis
- Add example of Angular webapp
- Add example of running tests
example.env
- enviromental variables used in this scaffold.gitlab-ci.yml
- responsible for CI/CDapp.js
- node entry pointdocker-compose.yml
- responsible for managing dockerdocker-compose.yml.example
- overides for using docker in developmentDockerfile
- responsible for building node image
- Clone this repository
- Update name in
package.json
- Adjust
example.env
to the needs of the project and create your own.env
for development - Adjust
docker-compose.yml
to the needs of the project - Copy
docker-compose-override.yml.example
and createdocker-compose-override.yml
for local development
- run
docker-compose up
- add apis or front-end project and view them at
http://locahost:8080
- have fun and innovate :)
- Create a Docker or (Ubuntu with Docker) container on AWS, Azure or on any other platforms
- Create an account for Gitlab on the container (TODO:- Add how to tutorial)
- Deploy
- Have fun with production
If you are looking to create an application of todays development standard, look no further than this project. It's a scaffold wrapping the awesome development tools avaiable ATM.