https://github.com/thechutrain/quizwizreact
https://github.com/thechutrain/quizwizreact
express react rest-api
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/thechutrain/quizwizreact
- Owner: thechutrain
- Created: 2017-04-07T13:22:04.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-04-09T20:33:22.000Z (about 9 years ago)
- Last Synced: 2025-03-22T13:42:44.323Z (over 1 year ago)
- Topics: express, react, rest-api
- Language: JavaScript
- Size: 588 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# QuizWiz React
> a React.js app built off a RESTful Express.js API
- A small little fun project utilizing the React.js library for viewing data from a RESTful API
## Getting Started
```
$ git clone git@github.com:thechutrain/git@github.com:thechutrain/quizwizReact.git
$ cd quizwizReact && npm install
$ npm start // starts the api server
$ cd client && npm install
$ npm start // starts webpack server for React fun
```
## Deploying on Heroku
view the demo app: [here](https://quizwiz.herokuapp.com/)
```
$ cd client
$ npm run build
$ heroku login // login into your heroku account
$ heroku create [you-app-name] // creates your app name
$ git push heroku master
// or if you want to push up a branch $git push heroku [branch-name]:master
```
After you do the previous commands, go to heroku.com and add JAWS_DB as a free add on, and then do the following cmd.
```
$ heroku run sequelize db:migrate --app [your-app-name] // runs migrations on your database
```
## ERD

> - rows highlighted in red represent primary or composite keys
> - rows highlighted in yellow represent foreign keys
## Testing
- Unit and intergration test of the API endpoints were written as the queries were made.
- Please submit an issue if you find any bugs. [Issues](https://github.com/thechutrain/quizwiz/issues)
## License
MIT