Files
5/readme.md
2024-07-02 04:15:05 +05:30

14 lines
710 B
Markdown

# Authentication API
This is a RESTful authentication API built using VLang on the back-end and HTML5, CSS3 on the front-end. The following endpoints are available:
- `POST /signup` - creates a new user account
- `POST /login` - logs in an existing user
## Prerequisites
Before getting started, make sure you have installed:
- [V](https://vlang.io)
- A modern web browser (Chrome, Firefox, Safari)
- [SQLite3](https://sqlite.org)
## Getting Started
1. Clone this repository to your local machine
2. Run `v run src` from the project root directory
3. Open http://localhost:8082 in your web browser
4. Use the `/signup` endpoint to register a new user or the `/login` endpoint to authenticate as an existing user