Skip to content

gregogalante/salvinipsum

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Salvinipsum

Trash random facebook posts generator.

Api

Every endpoint has this structure:

https://HOST/api/ipsum/text/USER_KEY/POST_LENGTH
  • USER_KEY: The key used to select a person (salvini, morandi, mentana ecc.). You can select multiple users using a dash char between the user keys (for example "salvini-morandi").
  • POST_LENGTH: The number of words for the post.

An endpoint example is:

https://HOST/api/ipsum/text/salvini/100

Development

Server

Ruby on Rails application, API requests to Facebook developed using Koala gem, admin panel developed using Lato gem, compiled code of the web app.

To start the server run:

bundle install

rails db:migrate

rails s

Webapp

React.js application, API requests to server developed with Axios, assets compiled with Webpack.

To start the client run:

npm install

npm run start

To compile the client and copy it on server public path run:

npm run build

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published