A RESTful API for an education institute
Explore the docs Β»
Report Bug
Β·
Request Feature
A simple API for CRUD operations. The objective of this project is to try native mongodb driver and schema. Database schemas and available endpoints are listed below π»
- π Student schema
- π Course schema
- π Student endpoints
- π Course endpoints
A list of commonly used resources that I find helpful are listed in the acknowledgements.
To get a local copy up and running, open your terminal in a favoured location and follow these simple example steps.
git clone https://github.com/thusarasenanayake/openmind-academy-api.git openmind-academy-api
cd openmind-academy-api
npm install
After successful installation, configure these settings related with .env.example file in config folder.
- Rename .env.example to .env
- Replace <MONGODB_URI> with your MongoDB connection string
example for local db : MONGODB_URI=mongodb://localhost:27017/
example for MongoDB Atlas: MONGODB_URI=mongodb+srv://name:<password>@cluster0.wszwp.mongodb.net/test
And then run the project by
npm start
See the open issues for a list of proposed features (and known issues).
Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Distributed under the MIT License. See LICENSE
for more information.
Project Link: https://github.com/thusarasenanayake/openmind-academy-api