https://github.com/dylanlott/worldbuilder
worldbuilder app built with node, express, and mongo.
https://github.com/dylanlott/worldbuilder
Last synced: about 1 year ago
JSON representation
worldbuilder app built with node, express, and mongo.
- Host: GitHub
- URL: https://github.com/dylanlott/worldbuilder
- Owner: dylanlott
- Created: 2015-06-06T02:20:24.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2015-12-28T19:53:44.000Z (over 10 years ago)
- Last Synced: 2025-01-30T01:29:43.520Z (over 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 17.6 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# worldbuilder
worldbuilder app built with node, express, and mongo.
##Installing
1. Clone the repository and `cd` into that directory
2. Run `npm install`
3. `npm start` and you should be good to go .
This will install the API and backend. There is currently no front end for this API yet.
##API Documentation
### GET '/universe'
Gets all universes that have been created
TODO: Make this get only universes that belong to the User
### POST '/universe'
Creates a universe.
Takes a body of
{
"name": universe.name,
"owner": universe.owner
}
TODO: Make this auto assign the owner using req.user
## PUT '/universe/:id'
Edit a Universe object. This is how you would change the
{
"name": universe.name
}
## DELETE '/universe/:id'
Delete's the universe with ID of :id