This web application is only using for my study about Headless CMS - Strapi, Docker and Amazon Web Services (AWS). You may want to know more information that is below and how to start here.
- Main information
- Requirement
- Structure
- Deployment
- Find me on
This project is using of many dependencies and other things like Strapi, Docker, Amazon Web Services - EC2 (Linux).
Main information | Version | Notes |
---|---|---|
Pure JavaScript | ES6 and ES7 | Using also for React auto binding |
Bootstrap | 4.1.3 | Using for grid layout |
React | 16.5.2 | |
Redux | 4 | |
React-Router | 4.3.1 | |
Strapi | 3.0.0 alpha 14.1.1 | |
Docker | 18 | Linux container |
Amazon Web Services (AWS) | Linux | EC2 |
Babel | 7.1 | With Babel Loader 8 |
Webpack | 4.19.1 | |
Webpack Dev Server | 3.1.8 | With code splitting |
All these things are in Docker on a Linux server (AWS):
- Strapi
- MongoDB
- My React app (cms-flowershop) is in a Dockerfile
Content type | Field | Data type | Key | Note |
---|---|---|---|---|
category | _id | String | Primary key | Auto generated by Strapi (1) |
name | String | Category name | ||
product | _id | String | Primary key | Auto generated by Strapi (2) |
name | String | Product name | ||
description | Text | |||
price | Decimal | |||
inStock | Integer | |||
categoryId | String | Foreign key | Get from (1) | |
image | Media | |||
order | _id | String | Primary key | Auto generated by Strapi |
customerInfo | JSON | Customer information | ||
orderedProducts | JSON | |||
sum | Decimal | |||
isDelivered | Boolean | |||
review | _id | String | Primary key | Auto generated by Strapi |
productId | String | Foreign key | Get from (2) | |
content | Text | Reviewer comment | ||
rating | Integer | |||
name | String | Reviewer name | ||
Reviewer email |
You may want to view My Dockerfile in the other repository on my GitHub page.