Skip to content

Yaremi18/bookmark-manager

Repository files navigation

Table of content

Description

App developed with Next.js to create and organize bookmarks, using openai to autocomplete forms.

Stack

Prerequisites

Environment

Commands

All commands are run from the root of the project, from a terminal:

Command Action
npm install Installs dependencies
npm run dev Starts local dev server at localhost:3000
npm run lint Run eslint to find problems in the code

Run app in your local

First time setup

You must to have a file in the root, named .env with the next variables:

PORT=3000
AUTH_SECRET="YOUR_AUTH_SECRET"
AUTH_GITHUB_ID="YOUR_GITHUB_ID"
AUTH_GITHUB_SECRET="YOUR_GITHUB_SECRET"
DATABASE_URL="YOUR_POSTGRESQL_URL"
OPENAI_API_KEY="YOUR_OPENAI_API_KEY"
NODE_ENV=['development'|'production']

Then run the next commands:

  npm install
  npx prisma migrate dev --name init

Run the application

  npm start

By default, the service is going to be exposed on http://localhost:3000.

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published