Execution Instruction
Prerequisites
Before you can install and execute the Bio Bank project, you need to have the following software installed on your computer:
- Node.js (opens in a new tab)
- npm (opens in a new tab) (comes with Node.js)
- Git (opens in a new tab)
Installation
1. Clone the bio-bank repository from GitHub
git clone https://github.com/AndrewThien/Bio-Bank.git2. Navigate to the biobank directory
cd bio-bank3. Install the project dependencies:
npm installYou also may need to create a .env file on the root folder, then add
DATABASE_URL=postgresql://nguyentrithien123:Hqz0da2XSGUY@ep-royal-voice-06161069.us-east-2.aws.neon.tech/Bio-Bank?sslmode=requireThis will ensure the Neon Database is loaded successfully.
4. Execution:
- Start the development server:
npm run dev- Open your web browser and navigate to http://localhost:3000 (opens in a new tab).
You should now see the Bio Bank application running.
5. Scripts:
The Bio Bank project includes the following npm scripts:
dev: Starts the development server.build: Builds the application for production.start: Starts the production server.lint: Lints the code.
You can run these scripts with npm run <script>, where <script> is the name of the script.
Live demo:
Please follow this link (opens in a new tab) to try the project's live demo, hosted on Vercel.