The online store was created to provide customers with a convenient and seamless shopping experience, offering a wide range of products and easy access to make their purchases from the comfort of their own homes.
- User
- See items of online catalog;
- Create orders;
- Get information about order to email;
- Admin
- Create items for catalog;
- Apploud images for catalog items;
- Update catalog items;
- Delete catalog items;
- Get users orders to email;
This project was generated with Angular CLI version 9.1.1.
Run ng serve
for a dev server. Navigate to http://localhost:4200/
. The app will automatically reload if you change any of the source files.
Run ng generate component component-name
to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module
.
Run ng build
to build the project. The build artifacts will be stored in the dist/
directory. Use the --prod
flag for a production build.
Run ng test
to execute the unit tests via Karma.
Run ng e2e
to execute the end-to-end tests via Protractor.
To get more help on the Angular CLI use ng help
or go check out the Angular CLI README.
In this file link to database and 'jwt' string for server work.
- You need to have 'secrets' folder in 'backend' folder,
- You need to have file 'secrets.js' in folder 'secrets'.
What strings you need?
String | Where you can get |
---|---|
MongoDB Data Base connection | https://docs.atlas.mongodb.com/driver-connection/ |
JWT (Json Web Token) for verify (see example) | you need thing by yourself |
File structure example:
const mongoDBConnectStr =
mongodb+srv://<DBName>:<password>@cluster0.8fws0.mongodb.net/<dbname>?retryWrites=true&w=majority;
const jwtSecretStr = "secret_this_need_get_by_yourself_for_verify";
module.exports.mongoDBConnectStr = mongoDBConnectStr;
module.exports.jwtSecretStr = jwtSecretStr;
Also you can delete this folder from ".gitignore" file