Amrinderdeep / Snippets

0 stars 0 forks source link

Snippets

Snippets is a Node.js Express project designed as a learning exercise to develop skills in backend web development using Express.js.

Overview

Snippets is a social media website where users can share short, insightful pieces of information with others. The project aims to demonstrate proficiency in backend technologies such as Express.js and MongoDB, while also providing a platform for learning and experimentation.

Features

Tech Stack

Installation

  1. Clone the repository:
git clone https://github.com/your-username/snippets.git
  1. Navigate to the project directory:
cd snippets
  1. Install dependencies:
npm install
  1. Set up environment variables:

Create a .env file in the root directory and define the following variables:

PORT=3000
MONGODB_URI=mongodb://localhost:27017/snippets
SESSION_SECRET=your_session_secret
  1. Start the server:
npm start
  1. Visit http://localhost:3000 in your web browser to access the application.

Contributing

Contributions are welcome! Feel free to open issues or submit pull requests to help improve Snippets.

License

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

Acknowledgements

Special thanks to the developers of Express.js, MongoDB, and other open-source projects that made this project possible.