Skip to content

pimp13/server-chi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Logo

GO-NEXT Project

Deployment

Set .env variable

  cp .env.example .env

Running Tests

To run tests, run the following command

  make test

Running server and application

restart: build app and run server

start: run server

  make restart

API Reference

Register

  POST /api/register
Data response
name message
email
password

Login

  POST /api/login
Data response
email user
password token

set cookie in client - http only , lax, secure

Check auth

  GET /api/check-login

send cookie from client be backend (server)

License

MIT

Authors and programmer

About

بخش backend پروژه GO-NEXT

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published