practical-modern-javascript

🏊 Dive into ES6 and the future of JavaScript (by mjavascript)

Practical-modern-javascript Alternatives

Similar projects and alternatives to practical-modern-javascript based on common topics and language

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better practical-modern-javascript alternative or higher similarity.

practical-modern-javascript reviews and mentions

Posts with mentions or reviews of practical-modern-javascript. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-08-16.
  • Build and Deploy Flask REST API on Docker
    2 projects | dev.to | 16 Aug 2022
    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)

Stats

Basic practical-modern-javascript repo stats
1
3,073
0.0
8 months ago

mjavascript/practical-modern-javascript is an open source project licensed under GNU General Public License v3.0 or later which is an OSI approved license.

The primary programming language of practical-modern-javascript is XSLT.


Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com