Skip to content

aapohaavisto/lesson3-node-chat-backend

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Koodi101 chat example

This is the repository for a simple chat application using koa and sequelize

Prerequisites

Node

cd backend
npm install
npm run dev

Docker

docker-compose build
docker-compose up

Exercises

The app

  • Use Postman, curl or similiar to
    • Post a new message to /api/chats
    • Get the messages from /api/chats
  • Add nickname and chat rooms to messages
  • Create a new endpoint /api/chats/<room> that returns messages for specific room

Deploy

  • Use SSH keys to login to the server
  • Install needed dependencies
  • Use Docker to deploy your application to the server

About

Lesson 3: The first backend application using node and koa.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • JavaScript 100.0%