You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Now you can start the application with yarn start. It will automatically
create the database and run initial migration that sets up the database
schema.
NPM scripts
yarn start - Start application
yarn start:dev - Start application in watch mode
yarn test - run Jest test runner
yarn start:prod - Build application
API Specification
This application adheres to the api specifications set by the Thinkster team. This helps mix and match any backend with any other frontend without conflicts.
Test api by browsing to https://localhost:3000/api/articles
View automatically generated swagger api docs by browsing to https://localhost:3000/docs
Run e2e tests from the gothinkster/realworld repository with yarn test:e2e
Authentication
This applications uses JSON Web Token (JWT) to handle authentication. The token is passed with each request using the Authorization header with Token scheme. The JWT authentication middleware handles the validation and authentication of the token.
About
Example real world backend API built with NestJS + MikroORM