A graphql server written for sibelius' relay modern course
This graphql server supports:
- registration
- authentication
- password change
- user query by id
- paginated user query with connection, ordered by name, ascending
- post creation by user
- post query by id
- paginated post query with connection, ordered by creation date, descening
This project uses any SQL database supported by sequelize to run, the easiest way do it is with docker-compose by running bellow commands
git clone https://github.com/BigsonLvrocha/relay-modern-typescript-server.git
cd relay-modern-typescript-server
docker-compose up
after the process is finished, just open the browser on localhos:5555 and you'll see yoga's graphql client
If you would like to, you can setup with your own configuration by setting up your own .env file