It is a Python/Django API allowing you to manage your own file drive in the cloud. You can see it as a Google Drive API clone. Here is a list of the main features of the API:
- Mangage users
- Manage files & folders
- Manage who you share your file and folders with
- Search among your files and folders
🔗 Check the full documentation of the API on Postman. for more information on all the endpoints.
🚀 If you want a live demo of the API, you can check the React front-end repo that I created with React. This API was built with Python and Django Rest Framework.
The easiest way to test the API locally is to run it on your computer with Docker compose.
- Clone the staging branch locally (if you clone the production branch, you will need to setup an SSL certificate in nginx.conf).
cdto the directory of the downloaded repo on your device- Optionnaly: You can edit
.envfile in the root directory, with the db password of your choice as well as django secret key. - Use
docker-composecommand to start the server with all the associated services (django app, db, nginx, celery & redis) :sudo docker-compose up --build - Try to access this URL http://127.0.0.1/admin/login/. If you see the Django admin login : the server is up and running 🎉
- Create the django superuser in the db to access the admin view:
- Access the shell of the django container with :
sudo docker exec -it <insert_here_django_container_name> sh - Then
# python manage.py createsupersuerwill prompt you to input your email & password.
