Skip to content

Latest commit

 

History

History
78 lines (46 loc) · 1.95 KB

README.md

File metadata and controls

78 lines (46 loc) · 1.95 KB

NSF Awards Search

Introduction

This is an Awards Search Application for the National Science Foundation that uses Next.js as the frontend and Flask as the API backend.

Backend

The Python/Flask server is hosted in the /api folder.

On localhost, the Flask server will be running at 127.0.0.1:5328.

In production, the Flask server is hosted at NSF.pythonanywhere.com.

Frontend

The frontend is hosted at NSF-Award-Search.vercel.app

It is built with React / Typescript and is styled using TailwindCSS. The home page of the app is located at /app/page.tsx

Developing Locally

You can clone & create this repo with the following command

git clone https://github.com/Tenacs/NSF-Award-Search.git

Getting Started

First, Set Up a Virtual Environment (venv):

python -m venv venv

Activate the virtual environment:

  • macOS/Linux:

    source venv/bin/activate
  • Windows:

    venv\Scripts\activate

Install the dependencies:

npm install

Then, run the development server:

npm run dev

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

The Flask server will be running on http://127.0.0.1:5328 – feel free to change the port in package.json (you'll also need to update it in next.config.js).

Learn More

To learn more about Next.js, take a look at the following resources:

You can check out the Next.js GitHub repository - your feedback and contributions are welcome!