Skip to content

Build articles and blogs in NextJS by adding a React components.

License

Notifications You must be signed in to change notification settings

incogiscool/atom

Repository files navigation

This is a Next.js project bootstrapped with create-next-app.

Getting Started

First, run the development server:

npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev

Open http://localhost:3000 with your browser to see the result.

Running the Atom-Nextjs SDK locally

Navigate to /packages/atom-nextjs and host the package locally:

npm link

Then, navigate out, back into the root folder, and connect to the locally hosted package:

npm link atom-nextjs

Lastly, you can also restart your code editor as there is a common bug with code editors where it says that the package is not installed.

Environment Variables

The following environment variables are used:

HASH_SALT="CONFIDENTIAL"
MONGO_DB_URI="CONFIDENTIAL"
ATOM_PROJECT_KEY="CONFIDENTIAL"
UPSTASH_REDIS_REST_URL="CONFIDENTIAL"
UPSTASH_REDIS_REST_TOKEN="CONFIDENTIAL"
# Can be either 'dev' or 'prod'
ENV="dev"

Releases

No releases published

Packages

No packages published

Languages