practical-modern-javascript
thejsway
practical-modern-javascript | thejsway | |
---|---|---|
1 | 6 | |
3,075 | 7,870 | |
0.1% | 0.1% | |
0.0 | 3.3 | |
9 months ago | about 1 year ago | |
XSLT | CSS | |
GNU General Public License v3.0 or later | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
practical-modern-javascript
-
Build and Deploy Flask REST API on Docker
import flask from flask import request, jsonify app = flask.Flask(__name__) app.config["DEBUG"] = True # Create some test data for our catalog in the form of a list of dictionaries. books = [ { "id": 1, "isbn":"9781593279509", "title":"Eloquent JavaScript, Third Edition", "subtitle":"A Modern Introduction to Programming", "author":"Marijn Haverbeke", "published":"2018-12-04T00:00:00.000Z", "publisher":"No Starch Press", "pages":472, "description":"JavaScript lies at the heart of almost every modern web application, from social apps like Twitter to browser-based game frameworks like Phaser and Babylon. Though simple for beginners to pick up and play with, JavaScript is a flexible, complex language that you can use to build full-scale applications.", "website":"http://eloquentjavascript.net/" }, { "id": 2, "isbn":"9781491943533", "title":"Practical Modern JavaScript", "subtitle":"Dive into ES6 and the Future of JavaScript", "author":"Nicolás Bevacqua", "published":"2017-07-16T00:00:00.000Z", "publisher":"O'Reilly Media", "pages":334, "description":"To get the most out of modern JavaScript, you need learn the latest features of its parent specification, ECMAScript 6 (ES6). This book provides a highly practical look at ES6, without getting lost in the specification or its implementation details.", "website":"https://github.com/mjavascript/practical-modern-javascript" } ] @app.route('/', methods=['GET']) def home(): return '''VLib - Online Library A flask api implementation for book information. ''' @app.route('/api/v1/books/all', methods=['GET']) def api_all(): return jsonify(books)@app.route('/api/v1/books', methods=['GET']) def api_id(): if 'id' in request.args: id = int(request.args['id']) else: return "Error: No id field provided. Please specify an id."results = [] for book in books: if book['id'] == id: results.append(book)return jsonify(results) @app.route("/api/v1/books", methods = ['POST']) def api_insert(): book = request.get_json() books.append(book) return "Success: Book information has been added." @app.route("/api/v1/books/", methods=["DELETE"]) def api_delete(id): for book in books: if book['id'] == int(id): books.remove(book) return "Success: Book information has been deleted." if __name__ == '__main__': app.run(host="0.0.0.0", port=5000)
thejsway
- Best guides to fully learn javascript?
- [AskJS] How did javascript.info helped you learn javascript and implement it in real world?
-
The Modern JavaScript Tutorial
The modern JS tutorial is indeed a very good and comprehensive resource.
For all its qualities, Eloquent JS is not a very beginner-friendly book. For a smoother learning curve, you might consider <https://github.com/thejsway/thejsway>.
Disclaimer: I wrote this book.
- I just lost my job, What should I learn to get a Job as Web Developer?
- Best way to learn Angular for a programming noob
-
"The JavaScript way" by Baptiste Pesquet
Link to book
What are some alternatives?
shop-catalog - JavaScript ES6 Modular Shop Catalog With PHP/NestJS backend
introduction-to-algorithms - 📚 Introduction to Algorithms [UnavailableForLegalReasons - Repository access blocked]
You-Dont-Know-JS - A book series on JavaScript. @YDKJS on twitter.
free-web-tools-and-utils - My list of free web tools & utils from around the internet.
martingraham-dot-dev - Source code for martingraham.dev
front-end - A front-end for the mwmbl search engine written in vanilla javascript
untrusted - A meta-JavaScript adventure game by Alex Nisnevich and Greg Shuflin.
some-drops-of-javascript - This book collects some useful, unknown, underrated JavaScript functions discovered and learned while using JavaScript daily.
yathaarthi - A Shop and Customer Loyalty Management Application created for both shopkeepers and customers
wayland-book - PDF version of Drew DeVault's Wayland Book from https://wayland-book.com/