This project is a way for me to learn the full stack development experience, from server -> web -> domain registration -> vps -> deploy. Followed a YouTube tutorial to get the gist of things and started building off it once I wanted more features. Sort of a spiritual successor to Kylegram. Super cool!!!
Before installation you need to install: postgres and redis
- go into each directory (common, server, and web) and run
yarn install - cd into common and run
tsc --watch - cd into server and run
yarn watchandyarn dev - cd into web and run
yarn dev - to initialize the database, point ORM to an empty postgres database (change DATABASE_URL in .env), and run
npx typeorm migration:generate -n Initial, then go to server/index.tsx and run migrations
Webserver is hosted on http://localhost:3000/ and graphql is hosted on http://localhost:4000/graphql
Note: If you are getting wrong type error in server/index.tsx, make sure to delete the extra node_modules folder that is created inside of server/@types/connect-redis
- created at on post
- image link for each post
- comments on each post
- rich text formatting (display rich text, edit post's rich text, and display post rich text on landing page) (2/18/2021)
- need to find reliable way to upload, store, and serve images
- edit and delete comments
- paginate comments
- need putty to ssh into vps when using deploy.sh
