- Clone it:
git clone https://github.com/supalarry/on-deck-newsfeed.git
- Open the folder:
cd on-deck-newsfeed
- Install the dependencies:
yarn install
- Run the dev server:
yarn dev
- Open http://localhost:3000
This project portrays a simplified slice of On Deck community platform. It has been done as a part of application process.
Feed has users participating in three fellowships:
- Founders, modeled after the On Deck Founders program,
- Angels,
- Writers.
Newsfeed shows relevant posts for each fellowship. The posts are loaded lazily and are ordered by newest first. The goal is to keep users up to date and to facilitate collaboration between them.
Tech stack:
- Next.js,
- TypeScript,
- Sqlite3,
- Apollo server,
- Apollo client,
- React.
Folder structure:
components/
— reusable React components;features/
— newsfeed feature is stored here;pages/
— the usual Next.js page structure;graphql/
— GraphQL server, schema, resolvers, DB connection;scripts/
— contains the SQL script used for creating and populating the tables indb.sqlite
.shared/
— types and constants.