Giter VIP home page Giter VIP logo

mern-template's Introduction

MERN Stack Template

MERN banner



How to use this template

📀 Demo video

STEP 1:

Click "Use this template" to generate a new repository.
Then open your terminal and clone your repository:

cd ~/Desktop
git clone https://github.com/[your-user-name]/[your-repo-name].git


STEP 2:

Go to your repository's folder, and install all dependecies:

cd ~/Desktop/[your-repo-name]
npm install


STEP 3:

Prepare your MongoDB database (atlas, community).
Then go to your server folder (backend), and set your database within server.js,


STEP 4: CODE !!!



Node dependecies & versions:

Client:

axios: ^0.21.1     --->     Use the API
react: ^17.0.1     --->     UI framework
react-dom: ^17.0.1     --->     UI framework
react-scripts: 4.0.3     --->     React 'npm' scripts

Server:

cors: ^2.8.5     --->     Enable HTTP requests
dotenv: ^8.2.0     --->     Secure sensitive information
express: ^4.17.1     --->     Server app
mongoose: ^5.12.0     --->     MongoDB database
morgan: ^1.10.0     --->     Logs incoming requests

mern-template's People

Contributors

johnrggo avatar

Watchers

 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.