- Clone this repo:
git@github.com:fac-15/DRINKIO.git
- Navigate to Drinkio folder and run
npm i
in your terminal - Turn on your server by running
npm run dev
in your terminal. Check that you receive a message saying that your server is running in port 4000. - Open your browser and go to localhost:4000
- Delete config file
- Either delete script file or import/export dom stuff
- Style auto-complete drop-down
- Only receive 5 drop-down entries ever
- Include magnifying glass
- Check on accessibility
- Do something when the user chooses a beer!
- Clear input / reset autocomplete when someone clicks out of the box
- Give some sort of notification for no matches found
- Make some sort of regex to limit types of input
- Look into deploying!
- Decide on API - BreweryDB
- Build basic skeleton for project and research API/how to connect to Node
- Realize that connecting to an API on top of writing the server is HARD
- Give up on that and create our own JSON file
- Slowly work through each step as a team
This was a REALLY hard project for all of us! It was helpful to whiteboard at the beginning in order to try to understand the flow of information from the frontside to server-side, but we were all still a bit confused. What was more helpful was to start building the project from the tiniest step (making an input box) and then walking through step at a time. We took turns writing code and commiting, which was a very slow way of working, but made sure that everyone was on board.
- Understanding the flow of information
- Understanding how to link the files / modularize
- Commenting in our code as we went
- Uh, testing? What's that?
- OMG is this AJAX...with our OWN server?
-
Really understanding how back-end files are supposed to be structured! a. Server - just set up a damn server! b. Router - receives requests and directs them to the appropriate handler function c. Handler - does all the dirty werk werk werk werk werk
-
Running server on another terminal tab so that you don't have to keep opening and closing it
- Taking TONS of breaks
- Really working as a team and not independently
- Keeping light, even at the worst of times
- Moving background (bubbling)
- Calling an external API from our server side
- Deploying with Heruko
- Refactoring
- Testing
- nodemon
- tape
- tap-specap
- querystring
node_modules