Giter Site home page Giter Site logo

mern's Introduction

Getting started with the Project

clone the repository from git [https://github.com/ditinex/MERN]

Workflow

Add your name to the backend env file. Frontend will call an API and will get a response with your name. Then your name will be shown in the frontend.

Getting started with the backend

  1. Get into the backend folder by running "cd backend" on the terminal.
  2. Run "npm install" or "npm i" on the terminal to install the required node modules.
  3. Create a new file .env on the root, copy the code from .env.example file to .env file.
  4. Replace the DB credentials and add your name to the env variable NAME.
  5. Now run "npm start" to run the backend.
  6. If the database is connected you can see "DB Connected" on the terminal / log.

Getting started with the frontend

  1. Get into the frontend folder by running "cd frontend" on the terminal.
  2. Run "npm install" or "npm i" on the terminal to install the required node modules.
  3. Create a new file .env on the root, copy the code from .env.example file to .env file. Replace the API url with your node API URL.
  4. Now run "npm run build" and it should provide you the build files in frontend/build directory.

mern's People

Contributors

raees-mondal9887 avatar ditinex avatar mandar1333 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.