An open API service indexing awesome lists of open source software.

https://github.com/rinminase/express-angular


https://github.com/rinminase/express-angular

angular docker express fullstack mysql pm2 template template-project typescript

Last synced: 3 months ago
JSON representation

Awesome Lists containing this project

README

          

# Express-Angular

## Steps to Run

1. Install Docker or Docker Toolbox
2. Copy both env files and set them accordingly
```
cp .env.example .env
cp /backend/.env.example .env
```

Root ENV contains the docker environmental variables, while `backend` ENV contains back-end runtime environmental variables.

3. Create the docker image
```
docker-compose up -d
```

### Back-end

1. SSH into the docker container and run the code
```
docker exec -it express bash
npm start
```

### Front-end

1. SSH into the docker container and build the code
```
docker exec -it angular bash
npm start
```

## Built with

### Backend
* [ExpressJS](https://expressjs.com/) - Web Framework
* [Babel ES5](https://babeljs.io/) - Language Syntax
* [MySQL](https://www.mysql.com/) - Database
* [Yarn](https://yarnpkg.com/) - Package Manager

### Frontend
* [Angular 9](https://angular.io/) - Web Framework
* [TypeScript](https://www.typescriptlang.org/) - Language syntax
* [Webpack 4](https://webpack.js.org/) - Project bundler
* [Yarn](https://yarnpkg.com/) - Package Manager