Skip to content

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

Notifications You must be signed in to change notification settings

DevStack06/MERN-Heroku-CRUD-Work

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

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

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published