Giter Club home page Giter Club logo

cs340_final_project's People

Contributors

ianbrown9475 avatar jemisonf avatar

Stargazers

 avatar

Watchers

 avatar

cs340_final_project's Issues

Design doc application overview

this section (at most 1/4 page, in prose with complete sentences) gives an overview of the miniworld (topic) of your web application. It should answer the following questions: What are you tracking in your web application, and why? Who would use it? What are the main use-cases for your application?

Design doc website design

Start with a website map, which shows how different pages of your web application are linked from the main menu.

You can generate such a map using Microsoft Visio which is available from Microsoft under agreement with COE (Links to an external site.)Links to an external site.[onthehub.com]. Your map should list each of the web pages (or views) that your web application will have. Then, following the map, for each of the pages/views, have a page-specific section in which you explain (in prose) what the use-case for the page is, what UI components will be used, how the page will communicate with the server (e.g., HTTP GET or POST and with what parameters), and what SQL query/queries (indicate any parameters with square brackets around the parameter name, like this: SELECT * FROM Employees WHERE eid = [user_eid];) the server will execute to populate and/or respond to the page. Mock-up screen captures may be helpful to illustrate your point, for the website design part of the document

Add token-based authentication to API

Authentication using a token should be added to the Flask API.
The API will have a secret file containing a list of combinations of usernames and passwords. A /login endpoint should exist that takes a JSON object containing a username and password. These values should be compared to the valid combinations in the file and, if they match an entry, the api should generate a token. The token should be added to the api's session and be sent in the response for use by the sender. Other endpoints then should first check if the supplied token matches a token in the api's session.
For simplicity, we should use the Bearer format when sending requests with a token.

Create Views from Website design

See here

  • Add routes for each view
  • Build React components
    • Message
    • User
    • Comment
    • Settings input
    • Followers
    • Following
    • Submit Comment
    • Submit Post
  • Build async wrapper component(s)
  • Build login functionality
  • Create and delete message

Create integration tests for the API

This ticket will be to write integration tests for our Flask API. All endpoints should be tested for valid data and responses. After these are done, they should be configured to be used by CircleCI

Add swagger spec for Flask API

Flask will handle API requests from the frontend, will communicate with the database, and will return JSON data back to the frontend. This issue involves writing a swagger specification for the API

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.