technobyte-nitkkr / Blogs

Blogs by Technobyte
0 stars 22 forks source link

Blogs

Offical repo of Blogs, made by Technobyte.

Installation

  1. clone the repo after forking it
git clone https://github.com/<your-username>/<repository-name>.git
  1. Install the dependencies

go to the client and server folder and run npm install

cd client # or cd server
npm install

OR RUN

npm run install:all
  1. Create a .env file in the server folder and add the following
cp .env.example .env

And add all required environment variables in the .env file

[!Tip] You can get the MONGODB_URI from MongoDB Atlas

OR

If you have MongoDB installed locally, you can set the MONGODB_URI to mongodb://localhost:27017/<database-name>

OR

Run docker compose up -d to start a MongoDB container and set the MONGODB_URI to `mongodb://localhost:27017/

  1. Run the project

go to the client and server folder and run npm start

cd client # or cd server
npm dev

OR RUN

npm run dev:all

How to contribute?

Visit the CONTRIBUTING.md file to know how to contribute to this repository.

Tech Stack

License

This project is licensed under the MIT License - see the LICENSE file for details.