https://github.com/the2alert/clock-app
https://github.com/the2alert/clock-app
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/the2alert/clock-app
- Owner: The2Alert
- License: mit
- Created: 2022-08-23T09:37:01.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2022-08-23T09:39:29.000Z (almost 4 years ago)
- Last Synced: 2024-03-08T12:17:35.268Z (over 2 years ago)
- Language: TypeScript
- Size: 47.9 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Clock App
Installing
Preliminary requirements:
-
Node.js >=16.14.2 -
npm >=8.16.0 -
Docker >=20.10.14 -
docker-compose >=1.29.2 -
GNU Make >=3.81
Installing dependencies:
npm i
Building
Building backend:
npm run build
Building frontend:
npm run frontend:build
Starting
Starting in production mode:
npm start
Starting in development mode:
npm run dev
Environment variables
List of variables:
-
WEBPACK_DEV- Webpack middleware starting if 1. Default: 0. -
PORT- Server port listening. Default: 80.
Dotenv support is present!
Code formatting
Backend code formatting:
npm run format
Frontend code formatting:
npm run frontend:format
Deploy
Building image:
make build
Pushing image:
make push
Pulling image:
make pull
Staring image:
make run
Stopping image:
make stop
Stack
General stack:
Frontend stack:
Backend stack: