Giter Club home page Giter Club logo

nodejs-open-knowledge's Introduction

Introduction

This repository serves as an online course for learning Node.js. Made by STRV, it’s here to help those who want to learn more about Node.js and backend to develop a backend API.

Goal

To give you a fundamental understanding of backend and Node.js.

The presenters demonstrated the best practices in building Node.js applications—experience they gained by working on numerous projects.

Source

This online course was created by utilizing material from Node.js Nights—the free offline course with a focus on Node.js created by STRV.

Prerequisites

This course requires at least junior-level knowledge of programming. (Experience with javascript, Node.js or backend itself is not necessary.)

Contents

This course contains 9 lectures. The first 3 lectures are general, while the other 6 focus on building one simple project from scratch. This allows us to demonstrate the full scope of practices. Each lecture contains a video recording of the presentation, with live coding and sample codes. The course focuses on understanding good architectural practices and project setups. Please keep in mind that for the purposes of the course, some information and approaches are simplified compared to big production app processes. This allows us to easily demonstrate fundamental patterns.

Materials

Branches

  • Master branch contains the final solution.
  • Lecture branches (e.g. 01-javascript) contains the part of the project that is covered in the given lecture.

Lectures directory

These Lectures contain a brief theoretical overview of what was discussed in each given lecture.

You can find the details of all lectures below:

  1. Javascript
  2. Node.js
  3. Servers
  4. Architecture
  5. Database
  6. Testing
  7. Deployment
  8. Workers & Queues and Security
  9. GraphQL

Video recordings

Recordings of all sessions can be found on the YouTube playlist below:

https://www.youtube.com/playlist?list=PLfX7tWavkVjBVmmZOU5sWuyutpekJ6KNP

Used technologies

Language & Runtime

  • Javascript. ES6
  • Node.js 11

Framework

  • Koa as web application framework

Database

Testing

  • Mocha as the most robust testing framework for Node.js.
  • Sinon.js for mocking.

Containerization

  • Docker as very popular and easy-to-use platform for local development and deployment.

CI

  • Travis as Continuous integration

Speakers

  1. Javascript - Josef Zavisek
  2. Node.js - Miroslav Andrysek
  3. Servers - Miroslav Macik
  4. Architecture - Jiri Erhart
  5. Database - Samuel Prado
  6. Testing - David Ruzicka
  7. Deployment - Juan Sanchez
  8. Workers & Queues and Security - Jan Hovorka, Jiri Erhart
  9. GraphQL - Josef Zavisek

nodejs-open-knowledge's People

Contributors

honzahovorka avatar jlsan92 avatar jzavisek avatar mandrysek avatar michalklacko avatar miryn avatar ruzicka avatar simon-hrabec avatar snek42 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

nodejs-open-knowledge's Issues

Unable to migrate

Hello,
i try to follow your awesome lections but while setting up db i run into error.
Steps to reproduce
clone the repo
$ npm i
$ npm run db:migrate
result
`> [email protected] db:migrate C:\nodejs-open-knowledge

knex migrate:latest --knexfile ./src/database/knexfile.js

C:\nodejs-open-knowledge\node_modules\knex\lib\client.js:74
throw new Error(knex: Required configuration option 'client' is missing.);
^

Error: knex: Required configuration option 'client' is missing.
at new Client (C:\nodejs-open-knowledge\node_modules\knex\lib\client.js:74:11)
at Knex (C:\nodejs-open-knowledge\node_modules\knex\lib\knex.js:57:42)
at initKnex (C:\nodejs-open-knowledge\node_modules\knex\bin\cli.js:95:10)
at Command.commander.command.description.action (C:\nodejs-open-knowledge\node_modules\knex\bin\cli.js:190:17)
at Command.listener (C:\nodejs-open-knowledge\node_modules\commander\index.js:315:8)
at Command.emit (events.js:189:13)
at Command.parseArgs (C:\nodejs-open-knowledge\node_modules\commander\index.js:654:12)
at Command.parse (C:\nodejs-open-knowledge\node_modules\commander\index.js:474:21)
at Liftoff.invoke (C:\nodejs-open-knowledge\node_modules\knex\bin\cli.js:278:13)
at Liftoff.execute (C:\nodejs-open-knowledge\node_modules\liftoff\index.js:203:12)
at module.exports (C:\nodejs-open-knowledge\node_modules\flagged-respawn\index.js:51:3)
at Liftoff. (C:\nodejs-open-knowledge\node_modules\liftoff\index.js:195:5)
at C:\nodejs-open-knowledge\node_modules\liftoff\index.js:165:9
at C:\nodejs-open-knowledge\node_modules\v8flags\index.js:135:14
at C:\nodejs-open-knowledge\node_modules\v8flags\index.js:41:14
at C:\nodejs-open-knowledge\node_modules\v8flags\index.js:53:7`

Expected
DB should migrate

Can you please help me with this issue? I investigated it but it seems that we pass the client property into knex config

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.