This is the version 2 of the REST API for the Freedemy React client
Explore the docs »
View Demo
·
Report Bug
·
Request Feature
Table of Contents
This is version 2 of the final project of the Ironhack Madrid web development bootcamp. Developed from scratch a year later with the idea of applying what we learned and deepen in new concepts.
You could check the documentation to find the endpoint list and options:
Documentation (Work in progress)
You will need Node 16+ installed and MongoDB cluster set and ready. This project is prepared to handle a development DDBB and a production DDBB. Be careful with GitHub actions pipeline, you may need to delete it or adjust the configuration to your needs.
- Clone the repo
git clone https://github.com/Joseacasado/freedemy-backend.git
- Install NPM packages
npm install
- Create .env file and set the following variables
PORT, PORT_DEV, DB_REMOTE_DEV, DB_REMOTE_PROD, DOMAIN_LOCAL, DOMAIN_REMOTE, AUTH_JWT_SECRET, AUTH_JWT_EXPIRES_IN, AUTH_JWT_EXPIRES_IN_REMEMBER, HASS_KEY
To find the available scripts, open your terminal and run
npm runTo run the development server run:
npm run devTo run the production server run:
npm run startTo run eslint run:
npm run lint- Config and add Swagger
- Set ECMASCRIPT Modules
- Add endpoints
- Auth
- User
- Teacher
- Course
- Comment
- File
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
- 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.txt for more information.
Jose A. Casado - LinkedIn profile Marisa Vitale - LinkedIn profile
Project Link: https://github.com/Joseacasado/freedemy-backend