GithubHelp home page GithubHelp logo

annaywu / goodie-bag Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ryhoneydew/goodie-bag

0.0 0.0 0.0 189 KB

Create a goodie grabber to grab goodies from your goodie bag!

JavaScript 88.79% HTML 3.10% CSS 8.11%

goodie-bag's Introduction

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

goodie-bag's People

Contributors

jbracht avatar briandk avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.