This project is a web application that allows users to create an account and authenticate using a cryptographic-generated token. The project is built using Express.js, Bootstrap, sqlite3, and Handlebars.
- Node.js
- npm
- Clone this repository to your local machine.
git clone https://github.com/BinaryBand/express-backend.git
- Navigate to the project directory.
cd express-backend
- Install the required dependencies.
npm install
- Create a .env file in the project root and add the following environment variables:
ENCRYPTION_KEY=your_encryption_key
HASH_SALT=your_hash_salt
TOKEN_SECRET=your_token_secret
- Start the development server. The application will be available at http://localhost:3000.
npm start
- Create an account by providing a username and password.
- Login to your account using the generated authentication token.
- Express.js - The web framework used
- Bootstrap - The CSS framework used
- sqlite3 - The database used
- Handlebars - The template engine used
- Shane Davenport