Skip to content

Code-4-Community/ssf

 
 

Repository files navigation

Securing Safe Food

A full-stack web application built with React (frontend), NestJS (backend), PostgreSQL (database), and AWS (Cognito for auth, S3 for file storage).

Prerequisites

Environment Setup

We use yarn for dependency management. Install app dependencies by running this command at the repo root (ssf):

yarn install

To set up your backend, follow the backend-specific instructions here.

*Note: you may need to prefix your nx commands with npx. For example, to serve the frontend, if:

nx serve frontend

doesn't work, try:

npx nx serve frontend

Start the app

To start the development server, run one of the following commands:

You can also run both the frontend and backend with one command:

nx run-many -t serve -p frontend backend

CI (GitHub Actions)

On every push and pull request, GitHub Actions runs:

  • Prettier — checks formatting
  • Backend tests — runs Jest test suites

Local commands

Prettier:

yarn prettier:check   # verify formatting
yarn prettier:write   # fix formatting

Backend tests:

yarn test

The locally hosted frontend and backend will update live as you make changes to the code. Happy coding!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

No contributors

Languages

  • TypeScript 99.8%
  • Other 0.2%