Skip to content

Here you can create your note by writing title or tag or description. And you can save it, delete it, edit it , search it just after login or signup in page.

Notifications You must be signed in to change notification settings

Aryan-kumar-mains/iNotebook-MernProject

Repository files navigation

iNoteBook

How to Contribute 🤔

You can contribute by adding new Web Projects, improving current projects or Documentation. We are also accepting resources which might help new developer upskill their developer Skills. Here are some Instructions before making a Pull Request

Here are the steps to Make contribute 👣

IMPORTANT Note

Pull Requests having no issue associated with them will not be accepted. Firstly get an issue assigned, whether it's already opened or raised by you, and then create a Pull Request.

Getting started

  • Fork this repository (Click the Fork button in the top right of this page, click your Profile Image)
  • Clone your fork down to your local machine
git clone https://github.com/Aryan-kumar-mains/iNotebook-MernProject.git
  • Create a branch
git checkout -b branch-name
  • Make your changes (choose from any task below)
  • Commit and push
git add .
git commit -m 'Commit message'
git push origin branch-name
  • Create a new pull request from your forked repository (Click the New Pull Request button located at the top of your repo)
  • Wait for your PR review and merge approval!
  • Star this repository if you had fun!

Setup Project

  1. Install node modules for both client and server
npm run install-modules
  1. Create Mongo DB and Update configurations

  • Create a new cluster (Shared Clusters are free) and set configurations

create-cluster

  1. Create a file named .env in the root directory and add the following code
PORT=5000
DATABASE=<cluster-connection-string>
DATABASE_PASSWORD=<cluster-password>
JWT_SECRET=testsecret

Replace the cluster-connection-string and cluster-password with your connection string and password.

You can access the connection string by pressing on Connect -> Connect your application on your cluster

  1. Run both client and server
npm run start-all:dev

There is also an option for setting up the project via Docker. To get started with the project by using Docker follow the following steps.

  1. Build the docker services
docker compose build --no-cache
  1. Start the services
docker-compose up
  1. To stop the services
docker-compose down

If you add new node module to your project you have to restart the image using

docker-compose up

About

Here you can create your note by writing title or tag or description. And you can save it, delete it, edit it , search it just after login or signup in page.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published