maksymura / nest-simple-auth

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Nest, Mongo, Vue simple client-server app with JWT auth

Prerequisites

  1. You should have MongoDB installed and running
  2. You should have node and npm installed

Server setup

Installation

$ cd kino-man-server
$ npm i

Create a new file .env and paste content from env-example into it

Running the app

$ npm run start

Available REST API endpoints

  1. POST, auth/login
  2. POST, auth/register
  3. GET, time/now, requires JWT auth bearer token

Client setup

Installation

$ cd kino-man-client
$ npm i

Create a new file .env and paste content from env-example into it

Running the app

$ npm run dev

You can also build the project and run index.html file from dist folder

About


Languages

Language:TypeScript 64.5%Language:Vue 27.4%Language:JavaScript 4.3%Language:HTML 3.5%Language:CSS 0.3%