Skip to content

Code Challenge - Micro-service with Node.js and Kafka - Rocketseat

License

Notifications You must be signed in to change notification settings

alissoncavalcanticma/kafkanode.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

README

wizards


in /api

  1. npm init -y

  2. npm install express

  3. npm install sucrase nodemon -D

  4. Create nodemon.json:
{
    "execMap":{
        "js":"sucrase-node"
    }
}
  1. Add section scripts in package.json:
"scripts":{
    "dev":"nodemon src/server.js"
}
  1. Create a folder /api/src and create file server.js

    • To initiate server in api folder: npm run dev
  2. npm install kafkajs


in /certifications

  1. npm init -y

  2. Create /src folder 2.1. Create a file index.js
  3. npm install kafkajs

Code Challenge: https://www.youtube.com/watch?v=-H8pD7sMcfo

About

Code Challenge - Micro-service with Node.js and Kafka - Rocketseat

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published