当前位置: 首页 > 软件库 > Web应用开发 > >

fullstack-shopping-cart

MERN stack shopping cart, written in TypeScript
授权协议 Readme
开发语言 JavaScript
所属分类 Web应用开发
软件类型 开源软件
地区 不详
投 递 者 滕翔飞
操作系统 跨平台
开源组织
适用人群 未知
 软件概览

MERN stack shopping cart

Intro

I started working on this app a while ago when I was still learning technologies used in this project, so please be aware thatthe codebase (and the whole app in general) isn't perfect and there is still room for improvement, even though I've updated the code multiple times over the past years.

So, consider this as a learning example or just a showcase rather than a production-quality code.

Description

Shopping cart app build with MERN stack and using RESTful API design. Responsive front-end design done with Material-UI, usesRedux for state management, Node & Express for API, MongoDB as database. App runs in Docker containers but you can also run each sub-app separately, without Docker.

You can get and view the list of all products from the API, register, add products to cart, remove specific product or empty entire cart, make order...

Technologies & Tools

Front-end:

  • React
  • Redux
  • Redux-Saga
  • Material-UI
  • Webpack
  • TypeScript

Backend:

  • Node/Express
  • MongoDB/Mongoose

Installation and Usage

Requirements:

  • Docker

In case you want to run it without Docker (requires additional setup):

  • Node.js installed
  • MongoDB connection

Steps:

  1. Clone repo on your local machine:
$ git clone https://github.com/ivan3123708/fullstack-shopping-cart.git
  1. Run docker-compose
$ cd fullstack-shopping-cart
$ docker-compose up -d

This will pull images and build 3 containers for each part of the application: frontent, backend & db.

  1. If everything went without problems, go to localhost:3000, you should see the running app.
  • frontend container (React app) runs on port 3000
  • backend container (Node api) runs on port 5000
  • db container (MongoDB server) runs on port 27017

Use docker exec -it <container name> bash to troubleshoot if there are any problems.

  • public class FragmentShopCart extends Fragment implements IBannerMain,FragmentCartInter,View.OnClickListener { private LinearLayout linear_login; private Button cart_login; private Recycle

  • >public class ChildBean { private String childName; private boolean checked; > public ChildBean() { } > public ChildBean(String childName, boolean checked) { this.childName

 相关资料
  • Ecommero Mobile Supported iOS versions: 11+ Supported Android versions: 6.0+ Download Admin Dashboard Reporting an issue Github Issues are used to track todos, bugs, feature requests, and more. Also c

  • 温馨提示:该项目已开源,用户在项目基础上的所有操作、修改须进行标记,并保留原项目版权说明。 Dot Shopping Cart 是一款采用 .NET 开发的电子商务平台,集成强大的 CMS 模块可提供灵活的内容发布。

  • NodeJS Shopping Cart - NodeJS, Express, Express-Session, Express handlebars (hbs) Run locally on your machine You need to have installed Node and NPM. Clone this repository git clone https://github.co

  • Shopping Cart Application with Microservices Approach Building microservices application (Shopping Cart Application - Polyglot for services) using Kubernetes + Istio with its ecosystem parts. Disclama

  • BugMall Shopping Cart 包含了所有能够建立、执行以及管理线上商店的功能,采用PHP开发。(非开源)

  • Fullstack GraphQL Simple Demo Application API built with Node + Express + GraphQL + Sequelize (supports MySQL, Postgres, Sqlite and MSSQL). WebApp built with React + Redux. Written in ES6 using Babel

相关阅读

相关文章

相关问答

相关文档