An on-going project of the Web and Coding Club. Built using Django REST Framework and React.
To learn the usage of this repository and begin contributing go to the Usage section of CONTRIBUTING.md
This project generates documentation using StoryBook. Make sure that you add JSDoc comments for the components. To access the documentation, run the following commands on your terminal:
# installation
npm install --save-dev @storybook/react
# configuration
npx sb init
# to view the documentation
npx storybook
The project generates API documentation using drf-yasg, provided through Swagger and ReDoc. To access the API documentation, follow these steps:
Open a web browser and navigate to one of the following endpoint:
http://127.0.0.1:8000/redoc
http://127.0.0.1:8000/swagger
The documentation for the back-end source code is automatically generated by Sphinx. You can access it using the backend/docs/_build/html/index.html as an entry-point (open it on the browser).
Whenever you make any changes in the code, before making a pull request make sure you run the following commands to generate documentation for the changes you have made.
cd backend/docs
./make.bat html
Check out CONTRIBUTING.md for guidelines on contributing to the repo.