https://yupvote.net (try it out and earn some yups!)
social sharing, forums, and blog website
Technologies Used:
-
react (frontend)
-
next.js (frontend)
-
node (server)
-
express (server)
-
postgresql (database)
-
graphql (api)
-
redis (session store)
-
typeorm (querying)
-
back-end deployed using dokku and docker
-
front-end deployed using vercel
- Create a profile landing page for users where you can find user posts, interactions, etc
- Add different pages for different communities/topics
- Create a side-bar fu
- Implement a yup points reward system and/or economy for users
- Allow for users to add images, links, videos to posts
would love any help or suggestions on the application.
- open a terminal and type
yarn watch
(this is so typescript is converted to javascript) - open another terminal and type
yarn dev
(this watches the changes and outputs for you)
- cd into client
yarn dev
- http://localhost:3000
- connect to PostgreSQL database server using psql
- create/enter in credentials
- add credentials to
server/src/index.ts
(optional to set-up a config.ts to store password)
Setting up Redis server (must have redis installed, using WSL on windows to run Redis server on a Ubuntu terminal)
For Windows :
- open
Windows Terminal
and open a new Ubuntu tab - run
sudo service redis-server start
to start redis server - enter in password
- should say
Starting redis-server: redis-server.
- GraphQL server should run on http://localhost:4000/graphql
- /mattszeto
- /you?