Code Monkey home page Code Monkey logo

seedo's People

Contributors

chem2016 avatar hgranthorner avatar kristyhsc avatar theo333 avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

seedo's Issues

refactor Image model

Remove type property.
Change url => data

because are going to store the image in the db as base64 data

Build out front end styling

  • Challenge List Page
    - [ ] Individual Challenge Page
    - [ ] ~~~ STYLE ~~~
    - [ ] Account preferences page/User submission history

create front end "skeleton" pages

Basically set up the html skeletons of the two front end pages (list of challenges and main challenge page). Create the react components, even if they only render an empty div, structure them, and use some basic css/flexbox to put things where they should be.

discuss - how to handle images

Use a single model, Image, to store both challenge and userChallenge images? Currently have the userChallenge image stored in UserChallenge model. I think using one model for both makes sense. Can add a type property to distinguish between them.

user model - refactor to include userId

  • userId (required)

  • email (required if sign up, optional if OAth)

  • from OAuth: get github userId, set to userId

  • if user not using OAth, then give option to sign up for github account (need in order to push userchallenge to github)

discuss: how to handle multiple answers in backend

/api/userchallenges/challenge/:challengeId route

How are we going to handle multiple answers since we said we would allow them?

In post route, do we first have to check if there is an answer, then do something differently if there is one?

In get route, how to decide which answer to retrieve?

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.