Code Monkey home page Code Monkey logo

im-telling-the-story's People

Contributors

tylergdorn avatar tylernakamura avatar zarkana avatar

Stargazers

 avatar

Watchers

 avatar  avatar

im-telling-the-story's Issues

Design scaffolding for home page

This issue seeks to determine what the home page looks like. Without writing any code, draw some boxes and get a rough outline, for our first draft of the home page.

This could literally be sketches on the back of a napkin. Don't do any code yet. We will create a coding based issue in the next task.

Use Gin to create a "Hello World" Service

In /backend/ , create an extremely simple service, in which you can send a GET and receive a 200 response with any message you like. Memes are preferred here.

Append to the /backend/README.md instructions on how to run this service. Are there any system requirements?

We will be deploying to Linux, so include specific instructions in the context of Linux. Any packages required, etc etc

Vagrant to also bring up the backend service

We now have a backend service that serves HTTP requests! When we call vagrant up, we should now have a front end web service running on one port, and a back end service running on another port. Completion of this ticket means that vagrant up will also bring up the backend service running on whatever port number you like.

fyi. Port numbers below 1024 are for root/priveleged users. So just to be safe, use a number greater than 1024

OAuth implementation

Ability for users to create account with a minimum of google credentials and associate the credential with access to write and read from the DB.

Waiting on this prior to implementing API integration.

DNS Resolution for api.imtellingthestory.com

The front end will soon be making API calls to our backend! In our vagrant environment, these calls will be made to localhost. In a production environment, these calls will probably point to an IP address that is NOT localhost.

A possible solution for this, is to tell Joseph to always make HTTP calls to api.imtellingthestory.com. That way, Joseph can write code that all points to the same host. Joseph shouldn't have to worry about IP addresses at all; it's not the responsibility of the front end to do this.

This means that we need our vagrant machine to always resolve this:
api.imtellingthestory.com -> 127.0.0.1

Update our vagrant file to make only api.imtellingthestory.com always resolve to 127.0.0.1

The tricky part will be the idempotency. If I run vagrant up, it's easy to just append to /etc/hosts. If I run vagrant up a second time. We don't want to have two identical entries in /etc/hosts!

Hint, maybe use grep to detect if the line already exists in /etc/hosts before doing an append.

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.