mateogalic112 / ts-shopping-cart

Shopping cart built with React.js, Typescript, Context API and React Bootstrap.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Shopping Cart

This project is build with React.js and Typescript on frontend and Node.js, Express.js, MongoDB on backend side.

Run project in development

Create .env file in root directory and fill MONGO_URI field. Example of .env file can be found in .env.example file in root directory.

Next, you need to install necessary packages for both frontend and backend folders.

Position yourself in root project directory and run following command

npm install

Next, position yourself one directory above, in ./frontend folder

Inside of here run the same command, which will install packages that frontend depends on

npm install

Project is using concurently library for running frontend and backend code with a single command.

Navigate to project folder and run following:

If using yarn please run

yarn dev

If using npm please run

npm run dev

About

Shopping cart built with React.js, Typescript, Context API and React Bootstrap.


Languages

Language:TypeScript 83.7%Language:JavaScript 11.3%Language:HTML 4.1%Language:CSS 1.0%Language:Shell 0.0%