SPIC MACAY Sever, Front End and more.
-
Backend Application: Build using Nest JS Framework
-
Frontend Application: Build using React with NextJS
Running this first time require .env file check Environment Settings below
# Start Docker
$ docker-compose up -d
# Jump to docker console
$ docker exec -it [dir_name]_dev_1 bash
# if there is any error check docker name by docker ps
$ yarn start:dev
- Server: This must be started if you want to run Server Application.
- Check logs from console:
pm2 logs server
- Access Server in Browser: http://localhost:3090/graphql
- Above Port may vary based on Docker Ports Env.
- Check logs from console:
- Website Storybook: This must be started when you want to run Website Storybook.
- Check logs from console:
pm2 logs storybook
- Access website storybook: http://localhost:6006
- Above Port may vary based on Docker Ports Env.
- Check logs from console:
- Website: This must be started when you want to run Website.
- Check logs from console:
pm2 logs web
- Access website: http://localhost:3010
- Above Port may vary based on Docker Ports Env.
- Check logs from console:
Please select and start application optimally
- sample.env files in different directories can be copy pasted to .env files.
- For Running Any Application, root folder must have .env for Docker Ports Mapping.
- For Running Server .env must exist. Few secrets will be shared in person.
- For Running Website .env.local and .env.development must exist.
$ yarn install --frozen-lockfile
Also Check Packages Readme files
TODO