Giter Site home page Giter Site logo

notes-app-backend's Introduction

Notes-App-Backend

Home Page

Screenshot 2024-04-04 at 2 11 02 AM

Login Page

Screenshot 2024-04-04 at 2 11 17 AM

Signup Page

Screenshot 2024-04-04 at 2 11 28 AM

All Notes Page

Screenshot 2024-04-04 at 2 12 07 AM Screenshot 2024-04-04 at 2 12 45 AM

MERN Stack Project

This is a full-stack MERN (MongoDB, Express.js, React, Node.js) project.

Project Structure

  • notes-backend/: Contains the Node.js backend code.
  • notes-frontend/: Contains the React frontend code.

Getting Started

Prerequisites

  • Node.js installed on your machine.
  • MongoDB installed locally or a MongoDB Atlas account for cloud database.

Installation

  1. Clone the repository:

    git clone https://github.com/your-username/mern-stack-project.git
  2. Install dependencies for both the backend and frontend:

    cd mern-stack-project/notes-backend
    npm install
    
    cd ../notes-frontend
    npm install

Configuration

  1. Backend:

    • Create a .env file in the notes-backend/ directory.

    • Add the following configurations to the .env file:

      PORT=5000
      MONGODB_URI=your-mongodb-uri
      
  2. Frontend:

    • In the notes-frontend/src/api/index.js file, update the BASE_URL variable to point to your backend server URL if it's different from http://localhost:5000.

Running the Application

  1. Start the backend server:

    cd mern-stack-project/notes-backend
    npm run server
  2. Start the frontend development server:

    cd mern-stack-project/notes-frontend
    npm start
  3. Open your browser and navigate to http://localhost:3000 to view the application.

Additional Information

  • Feel free to explore and modify the code to suit your needs.
  • For production deployment, make sure to set up proper environment variables and configure your hosting provider accordingly.

Feel free to customize this README template further based on your project's specific requirements and features.

notes-app-backend's People

Contributors

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