- General Info
- Screenshots
- Tech Stack
- Languages
- Frameworks
- Technologies
- Database
- Deployment
- Testing
- How To Set Up
MyGarage is a web application built with React/Django/Postgresql/AWS-S3, deployed with AWS-EC2/Docker+Nginx.
With MyGarage, we can manage our vehicles easily. They can see all the information of our vehicles, such as previous services, measurements, a vehicle note, and an upcoming appointment.
Client side deployed on: http://ec2-34-217-115-89.us-west-2.compute.amazonaws.com/
Server side deployed on: http://ec2-54-212-73-178.us-west-2.compute.amazonaws.com/
Users can:
- Register/Update a vehicle along with a picture
- Add/Update a service with a note
- Filter out services by year
- Add/Update mesurements with next appointment
- View a summary of registered vehicles
# in /client dir
$ cd client
$ npm install
Run react development server on http://localhost:3000
# still in /client dir
$ npm start
# in root dir
$ python3 -m venv env # create virtual env
$ source env/bin/activate # activate virutal env
# in /server dir with venv activated
$ pip3 install -r requiremets.txt
# in /server dir
$ cp .env.sample .env # copy contents of .env.sample into .env
$ nano .env # complete env variables or skip this if text editor is used.
$ psql postgres # connect to postgres
$ CREATE DATABASE <YOUR_DATABASE_NAME>; # ensure to include semi-colon
$ \l # confirm the created database
$ \q # disconnect from postgres
# in /server dir
$ python3 manage.py makemigrations # create migration
$ python3 manage.py migrate # migrate database
Run django server on http://localhost:8000
# in /server dir
$ python3 manage.py runserver 0.0.0.0:8000
# in /server dir
$ python3 manage.py createsuperuser
# in /server dir
$ python3 manage.py test