A clone of the unsplash project powered by react and django web framework.
Explore the site »
Photo gallery
·
Report Bug
·
Request Feature
It allows all users Upload new Images which are processed by the django backend and stored on an AWS S3 bucket.
Users can view all free stock photos that have been previously uploaded by other users.
This project can be used as a boiler plate for more ambitious projects
Here's why:
- Your time should be focused on creating something amazing. A project that solves a problem and helps others
- You shouldn't be doing the same tasks over and over like resource configuration.
Major frameworks and services used in the development of this project.
- React -- A JavaScript library for building user interfaces
- Django -- Python Web framework that encourages rapid development and clean, pragmatic design
- Django REST framework -- Powerful and flexible toolkit for building Web APIs.
- Heroku -- Platform as a service (PaaS) that enables developers to build, run, and operate applications entirely in the cloud.
- AWS S3 -- Reliability & Scalability With AWS Online Storage Solutions for static and media files
- PostgreSQL -- Open-source, highly stable relational database management system emphasizing extensibility and SQL compliance.
To get a local copy up and running follow these simple example steps.
- Clone the repository, which includes both backend and frontend.
git clone https://github.com/konichar/the-unsplash-clone.git
You need to have the following installed
-
Python https://www.python.org/
-
Install application python dependencies
pip install -r requirements.txt
- Migrate database
python manage.py migrate
- Start Django server and Rest API
python manage.py runserver
The backend server should be localhost:8000.
You need to have the following installed
-
Nodejs https://nodejs.org/
-
Install application React dependencies
yarn install
- Start frontend server
yarn start
The Frontend server should be localhost:3000.
This project is preconfigured to be deployable on Heroku.
Static assets and media files are collected and hosted on AWS S3 when python manage.py collectstatic
is run.
For more info about how django manages static files, please refer to the Documentation
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/konichar/the-unsplash-clone
Demo Link: https://the-unsplash-clone.herokuapp.com/
If you find this project interesting don't forget to leave a star 💥