arrangement-io / arrangethat-io-server Goto Github PK
View Code? Open in Web Editor NEWgrace app that allows you to arrange things
Home Page: https://bit.ly/2AE6Bte
grace app that allows you to arrange things
Home Page: https://bit.ly/2AE6Bte
This api should be "POST".
can we change it to methods=['POST']
Lines 70 to 73 in 267337b
We can add the Google sign in feature to allow account creation.
So we can also update our backend server and database with User Model.
The actual way we want to write out the CSV is very different. But at least there is something in place for now.
Here's a screenshot for your reference:
Lines 94 to 110 in 5cf927d
Second api is to create a new arrangement on backend side.
It will be the POST request from the backend
Lines 111 to 119 in 5cf927d
need to add the following code to update the GET route
see the gist
@app.route('/arrangement', method=['GET'])
def arrangements():
"""
return all relevant arrangement belong to specific user
"""
user = get_current_user # define user using google api and return google_id as user
arrangements = get_arrangements(user) # define all arrangements that is associable with user_id belonged to google_id
return get_arrangement_titles_and_id(arrangements) # strip out the title and id of those arrangements
This should return null,
Lines 117 to 119 in 5cf927d
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.