Node.js project developed during NLW Heat ๐ฅ. API used on ReactJS, Expo and Elixir projects.
https://www.figma.com/community/file/1031699316177416916
- GET Profile User
/profile --header Bearer <token>
- GET Last 3 Msgs
/messages/last3
- POST Create Message
/messages --header Bearer <token>
# 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