Skip to content
/ nectar Public

Server-side Rendered ADS Implementation 🌺

License

Notifications You must be signed in to change notification settings

adsabs/nectar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nectar

Getting started

Dependencies

Install the project dependencies:

pnpm install

Development

Start the development server:

pnpm dev

Run tests:

pnpm test

Run integration tests

pnpm integration

Run storybook:

pnpm storybook

Production build

Build the docker image:

docker build -t nectar .

To make a production build locally, you can run:

pnpm run build:local

Production

Start the production server inside a container:

docker run -it --rm --name nectar -p 8000:8000 -p 6006:6006 nectar

Start the local production server

pnpm run start:local

Development

Create a container mounting the current directory in the /app/ and start a bash shell to run any desired commands:

docker run -it --rm --name nectar -p 8000:8000 -p 6006:6006 -v $PWD:/app/ nectar bash

Bundle Analysis

This should open the results in a browser to see the generated bundles:

pnpm run analyze