Coder Social home page Coder Social logo

jitendrasachwani / quiz Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mitp1997/quiz

0.0 1.0 0.0 20.85 MB

NodeJS built quiz playing platform. This project was used to teach nodejs in a workshop conducted by me.

JavaScript 4.84% CSS 89.82% HTML 5.33%

quiz's Introduction

WORKSHOP

Day 1

  1. JSON

  2. Intro - Array accessing using indices similarly dict using keys

  3. Object

  4. Array

  5. Complex

  6. Make your own JSON for your name,email,phone numbers

  7. Mongo:

  8. Description (Uses JSON)

  9. Mongo Server

  10. Mongo shell 1. show dbs 2. use < dbname >

    • db.getCollection('').method() 3. db.users.insertOne({}) 4. db.users.insertMany([{},{}]) 4. db.users.findOne({}) 5. db.users.find 5. db.users.find().limit(5) //Top 5 6. db.users.updateOne({},{$set:{}}) 7. db.users.updateMany({},{$set:{}}) (DB,Collection:(Users,Questions) creation, Documents' CRUD)
  11. Node:

  12. Intro asynchronous!!!

  13. myFirst.js 1. Hello install nodemon make sure its globally installed 2. for loop \n and
    difference

  14. myFirstModule.js exports 1. date 2. require in myfirst.js difference in './asaskdbja' and 'asdsadsa'

  15. Node routes not important 1. req.url node routes

  16. Node mailer not important 1. nodemail.js

  17. Express 1. Installation 2. myFirstExpress.js 3. Get request 4. POST request

Day 2

  1. Connection with mongo 1. install mongoose 2. Import mongoose in myFirstExpress.js 3. Connect to db at localhost 4. Insert questions into db

  2. Project 1. WORK ON THE FUCKING PROJECT

quiz's People

Contributors

mitp1997 avatar

Watchers

James Cloos 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.