Skip to content

This project is based on headless CMS Strapi (using for API and content management), Docker, React, Redux, React-Router and Amazon Web Services (AWS)

Notifications You must be signed in to change notification settings

nguyenkhois/cms-flowershop

Repository files navigation

Headless CMS and Docker - Flower shop

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.

How it works

Table of contents

Main information

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

Screenshot

Screenshot

How it works

How it works

All these things are in Docker on a Linux server (AWS):

  • Strapi
  • MongoDB
  • My React app (cms-flowershop) is in a Dockerfile

Structure

Application structure

Appplication structure

Database structure

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
email Email Reviewer email

Deployment

Deployment

You may want to view My Dockerfile in the other repository on my GitHub page.

References

About

This project is based on headless CMS Strapi (using for API and content management), Docker, React, Redux, React-Router and Amazon Web Services (AWS)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published