-
Clone the repo
git clone https://github.com/joedots1/fast_wheels.git -
Build the Docker Containers
docker-compose up --build -
Check The API - 0.0.0.0:8000/docs
-
Attach shell to mongodb container:
docker exec -it mongodb /bin/bash -
Seed the mongo db
mongoimport --jsonArray --db admin -u admin -p admin --collection car_collection all_cars.json -
Open mongo shell
mongo -u admin -p admin use admin -
Create text search index on model
db.car_collection.createIndex({model:"text"})
-
Notifications
You must be signed in to change notification settings - Fork 6
Hot Wheels API using FastAPI, MongoDB, Docker. Data pulled from fandom wiki, cars from 2010-2020
License
joedots1/fast_wheels
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
About
Hot Wheels API using FastAPI, MongoDB, Docker. Data pulled from fandom wiki, cars from 2010-2020
Topics
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published