Simple issues app built in Angular6 + Material Design + Express + Swagger + MySql + Docker
Front-end had been built with Angular6 + Material Design.
- Go to project folder and install dependencies.
npm install
- Launch development server:
npm start
App will be accesible via: localhost:4200
- /users
- /issues
- /issues/:id
Back-end uses docker-compose to startup api and mysql database image. To start and build database and api (executing seed.js to add initial data) just run:
cd issues-backend
docker-compose up -d
You can also set up database and use nodemon to start the api without docker for development propose:
docker-compose up -d db
cd issues-backend/issues-services
npm install
nodemon app.js
API will be accesible via localhost:8000
There are 2 tables and an associative table to wrap the relationship between this 2 models:
- Users
- Issues
- users_issues
This model can be easily extensible adding attributes to the relational table for example to allow users to assign issues between them.