This repository contains the backend code for the Greever platform.
To see the API flow go through this Postman documentation
- User Authentication (
Login
,Sign-Up
andForgotPassword
with OTP verification) - Implementation of
UserDetails
API for handlingUser
personal data - Implementation of
Courses
API for handlingcourses
- Implementation of
Videos
API for handlingVideos
acrosss courses in thecourse_videos
collection - Implementation of
Readinglst_API
for handling differentReads
- Implementation of
ReadingList_API
to handle Items of differentReads
- Implementation of
Education API
to handle Education APIs - Implementation of
Experience API
to handle Experience APIs - Still In progress
- Implementation of
Projects API
to handle Projects APIs - Implementation of
Skills API
to handle Skills APIs - Implementation of
Certifications API
to handle Certifications APIs - Implementation of
Quizes
in theCourses API
- Implementation of Resume making functionality based on the
Education
,Experience
,Projects
,Skills
,Certifications
andCourses
- Implementation of
- Node.js - Backend server
- Express.js - Web framework
- MySQL - Database
- MongoDB - Database
- JavaScript - Programming language
Ensure you have the following installed:
-
Clone the Repository
git clone https://github.com/ShivaBollam07/GreeverBackend.git cd GreeverBackend
-
Install Dependencies
npm install
-
Set Up the Database
- Create a MySQL database with the name provided in the
config.env
template (Greever
). - Make sure to configure your MySQL user and password and other keys correctly.
- Create tables
users
anduser_deatils
with the schema provided in theSchema
Folder - Create Database
Greever
in MongoDB atlas and connect with theURI
- Create Collections in
MongoDB
arecourses
andcourse_videos - 26-08-2024
- Create Collection
reading_list
in theMongoDB
- Create Collection
reading_list_items
in the `MongoDB - Create New tables
education_helper_table
andeducation
- Create New tables
experience_helper_table
andexperience
- Create a MySQL database with the name provided in the
-
Set Up Environment Variables
Create a
config.env
file in the root directory of the project and configure it based on theconfig.env
template provided:BackendPort=3000 JWTSecret=jK4fL7nR9z!wX1qT#dU8eS2vP@aY6bM$cG0mJ5hV3o JWTExpire=1000000000 Mysql_DB_NAME=Greever Mysql_USER=root Mysql_PASSWORD= Mysql_HOST=localhost EmailForSendingOtp= EmailPasswordForSendingOtp= SessionSecret=zimbabwae token= MongoDB_URI= MongoDB_DBName=
-
Start the Server
npm start