Git Product home page Git Product logo

kolegia_backend's Introduction

Kolegia

Kolegia is a platform where users can post their lost items and find them. Users can also sell their items by posting them.

Features

  • Users can post their lost items and other users can help them find it.
  • Users can also sell something, by posting it on the platform.
  • If a user requires something, they can post a requirement for that.
  • Directly chat with the seller of the product for buying any item.
  • If someone wants to raise a hand on a lost item, they can easily do that.
  • Light/Dark Mode support.

Link to other Repos related to Kolegia

  1. Frontend Web application
  2. Mobile Application

Development Setup

To set up Kolegia for development, you need to install the following dependencies:

  • Install Node
  • Install MongoDB
  • Create a .env file for environment variables

Follow these steps to set up the development environment:

Step 1: Install Node.js from the Node.js official website.

During the developement process, I used node version v14.17.4. You can check your node version by running the following command:

node -v

Step 2: Install MongoDB from the MongoDB official website.

My MongoDB shell version v5.0.2-rc0

Step 3: Install MongoDB Compass and Postman (Optional)

You may want to install these two tools to help you with the development process. Using MongoDB Compass, you can have a look at your database as it gives a nice overview of your database. Postman can be used to test API endpoints.

Step 4: Create a .env file for environment variables

You'll have to create a .env file for environment variables with the variables listed here

Step 5: Clone the repository

git clone https://github.com/kartikeyvaish/Kolegia-Backend.git

Step 6: Install dependencies

cd Kolegia-Backend

npm install

Step 7: Run the server

npm run dev

.env file

NODE_ENV=""

host=""
DB_PORT=
DB_Name=""

prod_atlas_url=""
dev_atlas_url=""
prod_compassURL=""
dev_compassURL=""

JWT_Key=""
apiVersion=""

default_channel_id=""
default_profile_picture=""
default_product_image=""

auth=""
requirements=""
raisedhands=""
chats=""
otp=""
buysell=""
lostfound=""
feedback=""

CLOUDINARY_URL=""
CLOUDINARY_NAME=""
CLOUDINARY_API_KEY=""
CLOUDINARY_API_SECRET=""

projectId=""
clientEmail=""
privateKey=""

googleApiClientID=""
googleApiClientID_Mobile=""

google_app_password=""
google_admin_email=""

kolegia_backend's People

Contributors

kartikeyvaish avatar

Watchers

 avatar  avatar

Forkers

kislaysingh10

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.