/nlw-heat-node

Node.js project developed during NLW Heat 🔥

Primary LanguageTypeScriptMIT LicenseMIT

Next Level Week - Heat - Node.js

Node.js project developed during NLW Heat 🔥. API used on ReactJS, Expo and Elixir projects.

🚀 Technologies

🎨 Figma Layout

https://www.figma.com/community/file/1031699316177416916

🧭 API Routes

localhost:4000

  • GET Profile User /profile --header Bearer <token>
  • GET Last 3 Msgs /messages/last3
  • POST Create Message /messages --header Bearer <token>

💻 Local Installation

# Open terminal and clone this repository
$ git clone https://github.com/luizwhite/nlw-heat-node.git

# Create a .env.local file and add the requested environment variables
# based on the .env.example file in the project root

# Install dependencies
$ yarn

# Run migrations
$ yarn prisma migrate dev

# Start the application
$ yarn dev

# ------------------------- #

# Access prisma database with
yarn prisma studio