GithubHelp home page GithubHelp logo

devstack06 / mern-heroku-crud-work Goto Github PK

View Code? Open in Web Editor NEW
3.0 1.0 1.0 1.34 MB

Ui and Backend Designing of a Request Sending Web app from one user to another User. Integrating the notification on it...

Home Page: https://dev-stack-balram.herokuapp.com/

JavaScript 84.72% HTML 8.24% CSS 7.05%
nodejs mongodb expressjs reactjs react-router-dom mongodb-atlas heroku-deployment

mern-heroku-crud-work's Introduction

I'm MERN Stack developer, This repository consist both Backend and Frontend code of the assignment ๐Ÿ˜„ .

The working and deployed version of this project web-app-link

Rest API Documentation Link

Back End Code

Inside the main folder all the backend codes are available . This is the folder structure of backend code-:

  • model
    • All Mongoose model schemas
  • routes
    • All end points codes are here(routes folder)
  • index.js file (main Source file)
  • .env(which is not uploaded)

Below code will run the server on local ip and port 5000

app.listen(PORT, "0.0.0.0", () =>
  console.log(`your app is running on port ${PORT} enjoy developing`)
);

However if you want to run the server on localhost just replace the above code with the following code

app.listen(PORT, () =>
  console.log(`your app is running on port ${PORT} enjoy developing`)
);

For executing the backend server you have to execute the following codes-:

  1. For installing all the necessary npm packages-

$ npm install

  1. Start the server on development mode

$ npm run dev

  1. It will launch the server on http://[Your IP address]:5000 this url.

Front End Code

1.The Front End folder consist the react project. You can run it by running the below codes on the terminal for installing all the npm packages

$ npm install

2.for launching the website run below code

$ npm start

3.It will launch the website on http://localhost:3000 this url.

mern-heroku-crud-work's People

Contributors

dependabot[bot] avatar devstack06 avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

Forkers

chetan4635

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.