DevWrite is a blogging platform for developers.
See live
devwrite.webm
Note: This project was created in 2019, when I was relatively new to web development, the quality reflects that.
I developed devwrite and repass to learn server side development with nodejs. The goal was to play around with and learn different aspects of server side development by adding a bunch of features.
Development period for devwrite and repass was collectively >120 hours
reactjs
, nodejs
, postgresql
npm install && cd client && npm install && cd ../server && npm install
cd client && touch production.env development.env
cd server && touch production.env development.env
URL=http://<server_ip>:<server_port>
PORT=server_port
DB_NAME=database_name
DB_USER=postgresql_username
DB_PASS=postgresql_username_password
SESSION_SECRET=secret_character_string_for_redis
Create database for devwrite and add tables. Database models are here -
cd server/src/models/ && ls
npm run dev
npm run prod
- Create and edit posts and comments
- Like posts and comments
- Save posts
- Follow other users
- Edit their info to add bio, website and avatar image
Posts can be sorted by new
or top
.
Search gives an ability to search posts by keywords in title of the posts.
Tag-cloud on the right side in the desktop view is the list of most used tags. You can filter posts with tags.
Scrolling to the bottom automatically fetches new posts.