GitXplorerGitXplorer
d

docker-goodieBag

public
0 stars
0 forks
0 issues

Commits

List of commits on branch docker.
Unverified
47814a3834e15a810e835bacdb9678130dc6d0bc

created candy model, added express route

ddhuang612 committed 4 years ago
Verified
141f5f64690088d62d509b3094187bc793f57ab5

Merge pull request #2 from FullstackAcademy/updates

nnrl240 committed 4 years ago
Unverified
a0256c093a968d4401a2f8d0222821ac9ed47c82

update nodemon version

jjbracht committed 4 years ago
Unverified
929b1b2506d3d38db347583b00e9b765da4fa6fe

update package versions

jjbracht committed 4 years ago
Verified
1c78d4cd919c839f57ba54fca8ee635e1fe45ef1

Merge pull request #2 from briandk/add-nodemon-as-local-dependency

jjbracht committed 6 years ago
Unverified
ec251dbd5c8f15382f6f3b41d3e4f10419f5709a

Add nodemon as local dependency

bbriandk committed 6 years ago

README

The README file for this repository.

Goodie Bag

Getting started

  1. Fork and clone this repo
  2. npm install
  3. Read the rest of this README.md carefully - it contains the requirements for the project
  4. Start the build process and your application with: npm run start:dev. If you using Windows, you may need to execute npm run start-server and npm run build-watch separately (in their own terminal tabs).
  5. If you navigate to the URL you should see some UI already :) [We already have some connection code to get you started]
  6. Check out the starting seed file in seed.js - you can run it by executing npm run seed

Details

The Premise

You are creating a simple fullstack app to view the candies in your goodie bag. Yum! The requirements provided outline what we would like you to accomplish, but feel free to branch out and add more functionality if you wish.

The tools

For this project, you must use Express to handle HTTP requests and Sequelize to interface with your database. Likewise, you must use React, Redux and React-Redux on the front-end. This means that all important state must be managed by the Redux store (unimportant state, like form data, may be managed by stateful React components). Components that display data should therefore be connected to the Redux store. If you perform side-effects (like AJAX requests), you should encapsulate them in thunks.

Requirements

For the requirements, refer to the following file:

  • REQUIREMENTS.md - contains the functional requirements of the project

Make sure to read them carefully!

Other Important Info

How to test functionality without a frontend

  • GET: use your browser
  • POST / PUT / DELETE :
  • CLI (command line interface) with curl
    • e.g. curl -H "Content-Type: application/json" -X POST -d '{"username":"kate","password":"1234"}' http://localhost:3000/api/login
    • -H: headers. -X: verb. -d: data (must be of the type specified in headers). http://[address]:[port]/[route_path]
  • Postman
  • Databases: use Sequelize in your routes and see if you are receiving what you expect