SCG News is a Reddit clone project that serves up articles from my API built as a backend project. This web application allows users to view articles available in a PostgreSQL database. Users can explore articles by topics, sort articles by different variables, and order them in both descending and ascending orders.
The project utilizes context state to manage the user for the site. However, please note that the user information is currently hard-coded for a single user. There is scope to add further identification.
In addition to viewing articles, users can interact with the site by voting on articles, viewing individual articles, viewing comments, posting their comments on articles, and deleting their own comments.
You can find a hosted version of the app here along with the associated repo:
- SCG News App (please be aware that there is an initial loading time for the build)
- SCG News Repo
and the backend API here along with the associated repo:
- Backend API (this shows all endpoints for the API)
- Backend Repo
In order to run locally you will require minimum Node v20.7.0.
To run the project locally you will need to:
Clone the repository: ~ git clone https://github.com/SpencerCGriffiths/scg-news.git
You should then install dependencies to your machine by running
~ npm install
You can then launch the project
~ npm run dev
The application is hosted with Netlify.
The database is hosted with Render.
For future developments and enhancements to this project, please refer to the FutureDevelopments.md file.
Feel free to contribute to the project and help make it even better!