Skip to content

Cy-fox/fe

 
 

Repository files navigation

Need4Deed Frontend (FE)

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

Getting Started

First, run the development server:

yarn dev

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

You can start editing the page by modifying app/page.tsx. The page auto-updates as you edit the file.

This project uses next/font to automatically optimize and load Geist, a new font family for Vercel.

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!

Deploy on Vercel

The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.

Check out our Next.js deployment documentation for more details.


🧭 About This Project

This repository (fe) is the Next.js Progressive Web App (PWA) for Need4Deed, automating and supporting our platform’s business processes. It is actively developed and will eventually include our public landing page (currently hosted separately).

Related Repositories

Repository Description
backend Node.js / TypeScript API backend
sdk Shared TypeScript types and helpers used by FE and BE
website Legacy React/Vite landing page (currently frozen)

⚙️ Local Development Setup

The FE, BE, and SDK are designed to work together locally in a sibling-folder setup:

parent/
├── fe/         # Frontend (Next.js app)
├── be/          # Backend (API)
└── sdk/        # Shared TypeScript SDK

NEXT_PUBLIC_CLOUDFRONT_URL=https://d2nwrdddg8skub.cloudfront.net/images NEXT_PUBLIC_CLOUDFRONT_DATA_URL=https://d2nwrdddg8skub.cloudfront.net/data

1. Clone All Repositories

Make sure you have all three repos cloned in the same parent directory:

git clone https://github.com/need4deed-org/fe.git
git clone https://github.com/need4deed-org/be.git
git clone https://github.com/need4deed-org/sdk.git

2. Keep SDK in Sync

We don’t fetch the SDK — we link it locally.

  1. Pull the latest SDK changes:

    cd sdk
    git pull origin <branch>
  2. Then in the FE:

    cd ../fe
    yarn install ../sdk
  3. Make sure all repos (fe, be, sdk) are checked out to the same branch name for consistency.

💡 If you see TypeScript errors, ensure your local SDK and backend are aligned and up to date.


🎨 Design Guidelines

All designs and layouts are defined in Figma. Before implementing or modifying any UI component:

  • Follow the design from the official Figma project shared by the Need4Deed design team
  • Match typography, spacing, and component structure
  • Discuss any changes or deviations with the design team before merging

Keeping the FE aligned with Figma ensures consistency and quality across our app.


🧪 Development Notes

  • You can manually open the specific page you’re working on via its local URL (e.g. http://localhost:3000/dashboard)
  • The FE app will gradually incorporate the public landing page currently hosted on Amplify/S3
  • The website repo is frozen until the merge into this app is complete

🤝 How to Contribute

We welcome all contributions — from bug fixes to feature development.

  1. Fork this repository

  2. Clone your fork

  3. Create a new branch

    git checkout -b your_nick-feature-name
  4. Commit your changes Follow our commit message style guide:

    • Use present tense (“Add feature” not “Added feature”)

    • Use imperative mood (“Fix bug” not “Fixes bug”)

    • Keep it short (under 72 chars)

    • Prefix with an emoji when relevant:

      • 🎨 — style/format improvements
      • 🐛 — bug fix
      • 📝 — docs
      • 🔥 — removing code/files
  5. Push your branch and open a Pull Request to main

  6. Tag a maintainer for review (@arturas, etc.)


🐞 Reporting Bugs & Suggesting Features

  • Use the Issues tab in this repository
  • Check existing issues before opening a new one
  • Use the provided templates for bug reports and feature requests

⚖️ License

By contributing, you agree that your contributions are licensed under our Commons Clause + MIT License.


About

Need4Deed dashboard

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • TypeScript 91.8%
  • CSS 8.1%
  • Other 0.1%