Skip to content

sumonsnote/greeneverything

Repository files navigation

Next.js Project

This is a Next.js project with API routes for user management and a webhook implementation.

Features

  • User API Routes:

    • POST /api/users: Create a new user.
    • GET /api/users: Retrieve all users.
    • GET /api/users/{id}: Retrieve a specific user by ID.
  • Authentication:

    • Bearer token is required for accessing the API routes listed above.
  • Webhook Implementation:

    • POST /api/webhook: A webhook endpoint that validates incoming requests via a signature.

Setup

1. Install Dependencies

To get started, install the required dependencies:

npm install

About

API routes and authentication

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors