Code Monkey home page Code Monkey logo

mern-infrastructure's Introduction

#MERN-Stack infrastructure

Clone this repo to provide the start code for a comprehensive MERN-stack project including token-based authentication

Here's the process to create a new MERN-Stack project that starts with the infrastructure code:

  1. Clone the mern-infrastructure repo: git clone <url of mern-infrastructure> <name-of-project>

    Note that the folder created will be same as <name-of-project> instead of mern-infrastructure

  2. cd <name-of-project>

  3. Install the Node modules: npm i

  4. Create a .env (touch .env) and add entries for DATABASE_URL and SECRET

  5. Update the "name": "mern-infrastructure" in package.json to the name of your project.

  6. Create a new repo on your personal GH account.

  7. Copy the new GH repo's URL.

  8. Update the remote's URL: git remote set-url origin <paste the copied GH url>

  9. Make the initial commit: git add -A && git commit -m "Initial commit"

  10. Push for the first time: git push -u origin main

  11. Have fun coding your new project and don't forget to make frequent commits!

mern-infrastructure's People

Contributors

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