Git Product home page Git Product logo

basic-mern-stack-app's Introduction

Basic MERN Stack App

Front-End - React + Redux

Back-End - Node.js, Express.js & MongoDB

To run it locally -

Steps to run in development mode:-

  1. Fork the repo and clone it.
  2. Switch to development branch for running in development mode.
  3. Make sure you have yarn Node.js & MongoDB installed in your system.
  4. [Only once] Run (from the root) yarn install and cd client && yarn install.
  5. Open two terminal windows (one for running Server and other for the UI).
  6. Start MongoDB service with sudo service mongod start.
  7. Run yarn server to start the server. By default it will run on port 5000.
  8. For UI run yarn client and it will open on a new tab on port 3000.
  9. Go to http://localhost:3000 to see the application running.

Steps to run in production mode:-

Follow steps 1 & 3-7 for running in production mode. This time go to http://localhost:5000 to see the application running.

basic-mern-stack-app's People

Contributors

hemakshis 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.