./install.sh
./start_api.sh
./start_spa.sh
-
Make sure you have python3 available
-
Go to the API folder
cd os_library_api
-
Install pipenv and dependencies
python3 -m pip install pipenv pipenv install
-
Run the server
pipenv run uvicorn app.main:app
-
The API is available at http://localhost:8000
-
Make sure you have node, npm available
-
Go to the SPA folder
cd os-library-spa
-
Install dependencies
npm install
-
Run the server
npm start
-
The app is available at http://localhost:3000