GithubHelp home page GithubHelp logo

sallamy2580 / simple-mern-stack-flow Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 0.0 2.53 MB

A MongoDB, ExpressJS, ReactJS and Node Todo app using axios

HTML 13.12% JavaScript 79.78% CSS 7.09%
bootstr mongodb nodejs react redux redux-thunk

simple-mern-stack-flow's Introduction

This project uses MongoDB, ExpressJS, ReactJS and Node with a slight help of Axios.

This is a simple example of how to make a MERN stack application. The focus of this project is mainly on backend part and not the styling of the application.

Setting up the project locally

This project was bootstrapped with Create React App.

You need to first clone the repository by the following command

git clone https://github.com/rak-shit/MERN-stack-Todo.git

Then you need to install add the dependencies in the root directory. This project mainly uses, Express, Node, React, MongoDB and Axios.

You first need to install node and setup the react develpment environment. Then you can download and install MongoDB from the official mongo website MongoDB Download.

Then you can install dependencies like Express, body-parser, cors, mongoose and nodemon by the following command in the root directory or the server directory which is inside the root directory

npm install express body-parser cors mongoose nodemon

Then in the root directory install Axios using

npm insall axios

This step finishes the setting up of the project locally

To run the server:

Go to the server directory and type the following commands on the command line:

nodemon index.js

This will run the server on the PORT 3000.

To run the client:

Go to the client directory and type the following command on the command line:

npm install

and

npm start

This will run the server on the PORT 8000.

simple-mern-stack-flow's People

Contributors

sallamy2580 avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.