Disc Golf Discs
A simple API of disc golf disc profiles. Each disc has:
- Manufacturer
- Name
- Speed
- Glide
- Turn
- Fade
- Diameter
- Height
- RimDepth
- RimWidth
All flight ratings were collected via DiscSearcher and PDGA approved discs.
https://discgolfdiscs.herokuapp.com/discs
Endpoints:
all discs - /discs
individual disc - /discs/:id
Endpoints to be added
- filter by manufacturer
- filter by each flight rating
- attach over/unstable tags to each disc
Technologies Used
- Node.js
- Mongoose
- Express
- Database: MongoDB
- dotenv
- cors
Disc Model
const DiscSchema = new mongoose.Schema({
Manufacturer: String,
Name: String,
Speed: Number,
Glide: Number,
Turn: Number,
Fade: Number,
Diameter: Number,
Height: Number,
RimDepth: Number,
RimWidth: Number,
})
Installation
- Fork and clone repo
- If you identify bugs, submit an issue on the Git repo. Please detail the bug in your issue.
- If you know how to fix it, feel free to note the methods you would use. You could also submit a pull request with suggested code to fix it.