Quick speed coding project to gain some exposure to Django and Angulars upcoming control flow syntax.
- node v18.17.0 or later
- python3
To clone, please remember to clone all submodules recursively.
git clone --recursive git@github.com:bhayward93/spacex-launches.git
The front-end has been built for node v18.17.0. To install and run:
cd spacex-launches-front
npm i
npm run start
The app can then be accessed on http://localhost:4200/
cd spacex-launches-server
python3 -m venv env
source env/bin/activate
pip install -r requirements.txt
python3 manage.py runserver
The API will then be exposed on port 8000; give this endpoint a try to check that it is working:
http://localhost:8000/api/v1/launches/past