Skip to content

kirilzh/node-projects

Repository files navigation

node-projects

This repository is used to store code for tasks and projects form different courses and tutorials about node.js.

History of the projects I've worked on.

24.07.2018

Async-await is a project that I used to better understand this functionality.

19.07.2018

Chat app is a project using socket.io for creating a realtime chat web-app. You can create rooms and have private conversations. You can also send your location as a message.

To download dependencies: npm install

To run go to: /chat-app - node server/server.js

The app will run on localhost:3000.

It is also deployed on heroku.


04.07.2018

Setting up a project with mongodb. This project is a REST todo-api which can add, update, and delete todos. An authentication system is also implemented so to be able to perform these operations you have to create a user first.

To download dependencies: npm install

To run go to: /todo-api - node server.js

Using postman you can go to localhost:3000/todos and make a POST request to create a note.


23.06.2018

Working with Mocha for testing functions.

To download dependencies: npm install

To run go to: /tests - npm start


19.06.2018

Web server that is deployed on heroku. Only for testing purposes. The projects main purpose is to better understand templating and express.

To download dependencies: npm install

To run go to: /web-server - node server.js

The default server is running on localhost:3000.


17.06.2018

Weather application that uses Google's API for fetching the longitude and altitude based on user input.

To download dependencies: npm install

To run go to: /weather-app - node app.js [args]

The only [args] that the program takes is location. For example node app.js -a "SOME ADDRESS" (note: the address must be in quotes).

For more information run node app.js --help

The app uses Dark Sky API for weather information so in order to use it you must register for their api and createa file called key.js inside /weather-app and declare a const = "YOUR KEY".


15.06.2018

Note taking application.

To download dependencies: npm install

To run go to: /notes-node - node app.js [args] [optional flags]

Where [args] defines what action you want to do. You can choose between add, list, read, and remove. You can use [optional flags] with add, read, and remove. Every note has a title and body. For example, to add a note node app.js add --title="My Title" --body="Important body". To remove and read a note you have to only specify the title. list argument will list all notes.

For more information run node app.js --help


14.06.2018

Simple hello world application.

To run go to: /hello-world - node app.js

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published