Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/xlaez/online-shop
https://github.com/xlaez/online-shop
Last synced: about 7 hours ago
JSON representation
- Host: GitHub
- URL: https://github.com/xlaez/online-shop
- Owner: Xlaez
- Created: 2022-05-02T23:47:38.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-06-28T13:49:23.000Z (over 2 years ago)
- Last Synced: 2024-04-24T06:26:51.314Z (7 months ago)
- Language: TypeScript
- Size: 230 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# online-shop
- install typescript on pc [npm install typescript -g / yarn global add typescript -g]
- create an assets folder in root directory for storage of pdf files.
- create .env in root directory
- .env file should contain EMAIL_ACCOUNT, EMAIL_PASS,APP_PORT,MONGODB_URI,REFRESH_TOKEN,SECRET_TOKEN,CLOUDINARY_NAME, CLOUDINARY_API_KEY, CLOUDINARY_API_SECRET fieds
- This belongs to a private organisation and is only allowed for individual use for learning pruposes.
- run yarn add to install all dependencies-typescript
- run yarn serve to use on development mode
- run yarn build to compile to javascript
- run yarn start to run production mode-javascript