Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/slice312/AWS_CICD_monolith-book-app
Dockerizing: node server + client side with common js
https://github.com/slice312/AWS_CICD_monolith-book-app
aws aws-ec2 cicd docker docker-compose ec2 express feature-sliced javascript node vanilla-js web-components webpack webpack-multi-page
Last synced: 22 days ago
JSON representation
Dockerizing: node server + client side with common js
- Host: GitHub
- URL: https://github.com/slice312/AWS_CICD_monolith-book-app
- Owner: slice312
- Created: 2022-07-14T05:32:00.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2023-01-11T18:16:08.000Z (almost 2 years ago)
- Last Synced: 2024-07-30T21:02:34.166Z (4 months ago)
- Topics: aws, aws-ec2, cicd, docker, docker-compose, ec2, express, feature-sliced, javascript, node, vanilla-js, web-components, webpack, webpack-multi-page
- Language: JavaScript
- Homepage:
- Size: 338 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Book App
## About
- A study project to learn how to work with server API (CRUD operations),
multipages site, native web components
- The structure of the client application was developed by [Feature-Sliced Design methodology](https://feature-sliced.design)## Features
- ES6 modules, ES2022 classes
- Web Components
- Feature-Sliced Design
- Custom webpack setup
- ESLint## How to run
### Run server API and dev server for client
Install all dependencies for server and client side
```sh
npm run install-dependencies
```
Start API server
```sh
npm run api-server
```
Start dev server for client
```sh
npm run client
```This script run `webpack-dev-server` and auto open browser with `https://localhost:5007`.
If no browser is opened, you must manually open this URL in the browser.
Port `5007` specified in `webpack.config.json` in devConfig.## Reset state
For run api server with reset data
```js
cd server
npm run restart
```#### Default User
```
login: admin
pass: 1234
```