Mycards is a Graphql API to manage all types of trading cards. Built with Typescript, Apollo Server and MongoDB.
Use the package manager npm or yarn to install the project.
npm install OR yarn install
Run the following command to start the MongoDB container.
docker-compose up -d
- Copy .env.example to .env
cp .env.example .env
- Gen graphql types
npm run gen OR yarn gen
- Start the project
npm run dev OR yarn dev
- Open your browser and visit localhost:4000/graphql