implement auth
This commit is contained in:
parent
96761cb911
commit
1434756b10
12 changed files with 130 additions and 13 deletions
|
|
@ -5,15 +5,18 @@ A Node.js REST API built with TypeScript and Express.
|
|||
## Getting Started
|
||||
|
||||
### Prerequisites
|
||||
|
||||
- Node.js >= 18
|
||||
- npm
|
||||
|
||||
### Installation
|
||||
|
||||
```sh
|
||||
npm install
|
||||
```
|
||||
|
||||
### Configuration
|
||||
|
||||
1. Copy `.env.example` to `.env` and fill in your secrets:
|
||||
```sh
|
||||
cp .env.example .env
|
||||
|
|
@ -21,20 +24,24 @@ npm install
|
|||
2. Set your Unsplash access key and other variables in `.env`.
|
||||
|
||||
### Running the Server
|
||||
|
||||
```sh
|
||||
npm start
|
||||
```
|
||||
|
||||
### Formatting Code
|
||||
|
||||
```sh
|
||||
npm run format
|
||||
```
|
||||
|
||||
### Recommended VS Code Extensions
|
||||
|
||||
- ESLint
|
||||
- Prettier
|
||||
|
||||
## Project Structure
|
||||
|
||||
```
|
||||
kuwot-api-js/
|
||||
├── src/
|
||||
|
|
@ -54,7 +61,9 @@ kuwot-api-js/
|
|||
```
|
||||
|
||||
## Contributing
|
||||
|
||||
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
|
||||
|
||||
## License
|
||||
|
||||
ISC
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue