Giter VIP home page Giter VIP logo

web-dev-tutorials's Introduction

Smartninja tutorials

Some additional material for my SmartNinja courses.

Table of content

How to read these tutorials

Disclaimer

Hopefully it goes without saying, but just to be safe: the code in the tutorial is not production ready and might be missing some important performance or security features.

These tutorial represent complementary material for my web development courses I teach at SmartNinja. If you are not enrolled in these course, you might still find them useful, but I highly recommend to take them up.

You can find the tutorial in the respective directory. Some include code samples or whole projects, while others don't.

Code snippets

Python snippets use the type hints. This is optional and you do not need to use this in your code, although you will find that it improves readability and IDE support.

Code snippet include comments in their respective language they are written. The file system snippets use bash comments (#).

The first comment is usually the name of the file in the tutorial. If you decide to use a different naming/layout ignore it.

Three dots (... ) indicate missing code that should be easy to fill in based on the Prerequisites paragraph in the tutorial.

E.g. if you encounter a snippet for like this

# file: main.py
from flask import Flask

...

@app.routes("/")
def index():
    return b"Hello world!"

The snippet assumes you are comfortable instantiating the flask app.

# file: main.py
from flask import Flask


app = Flask(__name__)   # omitted part


@app.routes("/")
def index():
    return b"Hello world!"

If you don't know how to write the missing code, make sure to go through the tutorial's Prerequisites, look at the official course material and previous recordings, google etc. If nothing helps, feel free to contact me via the our Slack channel.

Api testing

Where apis are used the tutorials uses the python cli package httpie to make HTTP requests.

You can of course use postman or curl or any other application you feel comfortable with.

Misc

Feel free to contact me via mail or twitter.

PRs are always welcome, although I might reject some because the content is meant to be primarily used along the courses I teach.

web-dev-tutorials's People

Contributors

janisumak avatar dasdachs avatar

Stargazers

 avatar

Watchers

James Cloos avatar  avatar

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.