Skip to content

This API allows you to shorten URLs, manage users, and track visits. It is built with Node.js, Express, and Prisma, and uses TypeScript for a better development experience.

License

Notifications You must be signed in to change notification settings

DairoCantillo/joa-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🌐 URL Shortener API ( Joa API )

Node.js Express Prisma TypeScript JWT bcrypt

Description

This API allows you to shorten URLs, manage users, and track visits. It is built with Node.js, Express, and Prisma, and uses TypeScript for a better development experience.

Technologies

  • Node.js: JavaScript runtime environment.
  • Express: Web framework for Node.js.
  • Prisma: ORM for Node.js and TypeScript.
  • TypeScript: Programming language that extends JavaScript.

Installation

  1. Clone the repository:

    git clone https://github.com/DairoCantillo/joa-api.git
    cd joa-api
  2. Install dependencies:

    npm install
  3. Configure environment variables: Create a .env file in the root of the project and add the following variables:

    DATABASE_URL="your_database_url"
    PORT=3000
    JWT_SECRET="your-secret-key"
  4. Run Prisma migrations:

    npx prisma migrate

Usage

To start the server in development mode:

npm run dev

Build the project:

npm run build

About

This API allows you to shorten URLs, manage users, and track visits. It is built with Node.js, Express, and Prisma, and uses TypeScript for a better development experience.

Resources

License

Stars

Watchers

Forks

Packages

No packages published