A news and forum website inspired on Hacker News using Remix framework.
-
Install dependencies
$ npm install
-
Create
.env
file based on the.env.example
-
Create database schema
$ npx prisma db push
-
Run seed if you want initial data
$ npx prisma db seed
-
Run server
$ npm run dev
-
Visit
http://localhost:3000
-
Install Docker
-
Use docker-compose
docker-compose -f docker-compose.yml up
-
Access database via psql
psql -h localhost -p 5432 -d news_portal -U postgres
-
Update .env file to contain the new connection string
DATABASE_URL="postgresql://postgres:passsword@localhost:5432/news_portal?schema=public"
-
Then push the database and run the seed
npx prisma db push npx prisma db seed
-
Generate prisma client
npx prisma generate
- List Items
- Sign-up
- Login
- Logout
- Submit Item
- Vote Item
- View Item
- List Items with pagination
- Navbar
- Footer
- Rank items based on the votes and created date
- --- Above the this is MVP
- Comment an Item
- Show nested comments for an Item