Spansberry aims to provide communities with a discussion platform via which they can hassle-free organize all the ongoing discussions under different categories and topics thereby keeping track of everything without getting lost in the abundance of it. This helps to manage the cluttered communication process, focus on the important ones and turn them into impactful actions. You can use this postman collection to manually test the API endpoints.
Spansberry backend application is built on the following technologies:
- NodeJS
- ExpressJS
- GraphQL
- Socket.io
- MongoDB (Mongoose)
(Make sure you have NodeJS and NPM installed on your machine. Further for the database you can either have a separate MongoDB server running on your local machine or can use external services like MongoDB Atlas.)
- Fork this repository
- Clone this forked repository on your local machine using:
git clone https://github.com/<username>/community-forum-backend.git
. (Replace username with your own username) - Install all the dependencies using
npm install
. - Copy
example.env
and rename it to.env
(Avoid removingexample.env
). Then, setup database details in the.env
file. - Start the application using
npm start
.
You are good to go now, make sure your frontend application is running simultaneously on port 3000
.