Hashtag wall that displays posts from several social media sources. You can specify the hashtag to monitor and the server collects these posts. Example client website can be found at https://github.com/Krisseck/Hashtag-Wall-Client
This is the server component of the wall. It's a node.js express server that provides a JSON API for displaying the social media posts.
Client: http://hashtag.polso.info
API: http://hashtag.polso.info:8080/posts
Admin: http://hashtag.polso.info:8080/admin (username: admin, password: password)
- Cron process that fetches the social media posts
- Supports multiple social media platforms (currently Instagram & Twitter)
- Admin interface for displaying and deleting posts
- Ignore specific user's posts
- Tested with Node.js v18.12.1 (LTS), should work with other 18.x versions aswell.
- Yarn
- MySQL-server
Run yarn
to install dependencies
Copy config.js.example
to config.js
and change the values as needed.
To install database tables, run:
node install-dbs.js
Note: Running this script will drop the tables if already existing!
app.js
is the main API server.
cron.js
is the background process that fetches the social media posts.
You can run these scripts with just node app.js
and node cron.js
, although I recommend using a process manager like PM2. Then the commands will be:
pm2 start app.js
pm2 start cron.js
Need help with the project or looking for hosting? Contact me at [email protected]