Skip to content

ycberrehouma/edchain-ba-api

Repository files navigation

edchain-api


This is an api for the edchain android api that allows adding a new username with password and role type then verify authentication

Search through courses by course title, course provider, course instructor or course description

Count number of courses in the JSON file or return a limit number of them

Testing queries are included that should be used/tested via the API development environment POSTMAN


To import JSON COURSES into mongoDB Follow this command line example mongoimport --jsonArray --mode merge --db edchain --collection courses --file C:\Users\priya\Downloads\yale_course_videos.json mongoimport --jsonArray --mode merge --db edchain --collection courses --file C:\Users\priya\Downloads\mit_may22.json



Technology Used: MongoDB, Javascript (ExpressJS, PassportJS, NodeJS) and JSON