Supposed to be a reddit clone
- Clone
https://github.com/thehink/linkify.git
- Run
composer install
- Run
npm install
- Create a mysql database.
- Copy
api/.env.example
toapi/.env
and edit it with your environment config. - Skip step 7 and 8 if you import the db/dump/linkify.sql dump instead of running migrate.
- Copy
phinx.yml.example
tophinx.yml
and edit it with your database settings. - Run
vendor/bin/phinx migrate
- Start webserver at localhost:80 and point it to project root
- Run
npm start
to start dev environment
- Run
npm run dist
to build production - Start webserver and point it to project root
- As a user I should be able to create an account.
- As a user I should be able to login and logout.
- As a user I should be able to edit my account email, password and information.
- As a user I should be able to upload a profile avatar.
- As a user I should be able to create new links with a title and description.
- As a user I should be able to edit my links.
- As a user I should be able to delete my links.
- As a user I should be able to up and down vote links.
- As a user I should be able to comment on a link.
- As a user I'm able to edit my comments.
- As a user I'm able to delete my comments.
- As a user I'm able to reply to comments.
- As a user I'm able to resetting my password with email.