All Projects β†’ CaptainFact β†’ Captain Fact Api

CaptainFact / Captain Fact Api

Licence: agpl-3.0
πŸ”Ž CaptainFact - API. The one that serves and process all the data for https://captainfact.io

Programming Languages

elixir
2628 projects

Projects that are alternatives of or similar to Captain Fact Api

Graphql Ld.js
Linked Data Querying with GraphQL
Stars: ✭ 65 (-55.17%)
Mutual labels:  graphql, hacktoberfest
Action policy Graphql
Action Policy integration for GraphQL
Stars: ✭ 110 (-24.14%)
Mutual labels:  graphql, hacktoberfest
Graphql Doctrine
Automatic GraphQL types from Doctrine entities
Stars: ✭ 81 (-44.14%)
Mutual labels:  graphql, hacktoberfest
Vulcan
πŸŒ‹ A toolkit to quickly build apps with React, GraphQL & Meteor
Stars: ✭ 8,027 (+5435.86%)
Mutual labels:  graphql, hacktoberfest
Wp Graphql Yoast Seo
This is an extension to the WPGraphQL plugin for Yoast SEO
Stars: ✭ 120 (-17.24%)
Mutual labels:  graphql, hacktoberfest
Iban.im
Shorten, create and share memorable links for IBANS
Stars: ✭ 60 (-58.62%)
Mutual labels:  graphql, hacktoberfest
Thorium
Platform for starship simulator controls
Stars: ✭ 109 (-24.83%)
Mutual labels:  graphql, hacktoberfest
Sql To Graphql Schema Generator
βš›οΈ Generate GraphQL Scheme Online From SQL Query - https://sql-to-graphql.now.sh/
Stars: ✭ 32 (-77.93%)
Mutual labels:  graphql, hacktoberfest
Graphql Live Query
Realtime GraphQL Live Queries with JavaScript
Stars: ✭ 112 (-22.76%)
Mutual labels:  graphql, hacktoberfest
Nextjs Headless Wordpress
πŸ”₯ Nextjs Headless WordPress
Stars: ✭ 110 (-24.14%)
Mutual labels:  graphql, hacktoberfest
Erxes Api
API for erxes
Stars: ✭ 57 (-60.69%)
Mutual labels:  graphql, hacktoberfest
Hackatalk
TalkTalk renewal. Open source chat app built-in expo managed work flow
Stars: ✭ 123 (-15.17%)
Mutual labels:  graphql, hacktoberfest
Umbraco Graphql
An implementation of GraphQL for Umbraco 8 using GraphQL for .NET.
Stars: ✭ 52 (-64.14%)
Mutual labels:  graphql, hacktoberfest
Graphql To Sparql.js
Converts GraphQL queries to SPARQL queries
Stars: ✭ 62 (-57.24%)
Mutual labels:  graphql, hacktoberfest
Siler
⚑ Flat-files and plain-old PHP functions rockin'on as a set of general purpose high-level abstractions.
Stars: ✭ 1,056 (+628.28%)
Mutual labels:  graphql, hacktoberfest
Strapi
πŸš€ Open source Node.js Headless CMS to easily build customisable APIs
Stars: ✭ 41,786 (+28717.93%)
Mutual labels:  graphql, hacktoberfest
Hexpm
API server and website for Hex
Stars: ✭ 798 (+450.34%)
Mutual labels:  hacktoberfest, phoenix
Strawberry
A new GraphQL library for Python πŸ“
Stars: ✭ 891 (+514.48%)
Mutual labels:  graphql, hacktoberfest
Yummy Phoenix Graphql
Cooking recipe sharing app built with Phoenix, React, GraphQL and Kubernetes
Stars: ✭ 112 (-22.76%)
Mutual labels:  graphql, phoenix
Netcoreblockly
.NET Core API to Blockly - generate from WebAPI, Swagger, OData, GraphQL =>
Stars: ✭ 121 (-16.55%)
Mutual labels:  graphql, hacktoberfest

CaptainFact.io

Discord AGPL3 Coverage Status




Install & Run

Prerequisites

You need to install Elixir. We recommand using asdf-vm. Check their documentation on how to install it, then run asdf install from root captain-fact-api folder.

Start DB

Create / launch a PostgreSQL instance on your local machine. If you have Docker installed, you can use the pre-Seed PostgreSQL Docker image:

docker run -d --name cf_dev_db -p 5432:5432 captainfact/dev-db:latest

Start API

  • mix deps.get --> Get dependencies
  • mix ecto.migrate --> Migrate DB
  • iex -S mix --> Start project

Following services will be started:

You can also see all e-mail sent, by going to http://localhost:4000/_dev/mail

Other useful commands

  • mix test --> Run tests
  • mix test.watch --> Run test watcher
  • mix format --> Format code
  • mix ecto.gen.migration [migration_name] --> Generate migration

Project architecture

This application is organized as an umbrella project which allows us to divide CaptainFact API into small apps.

.
β”œβ”€β”€ apps
β”‚   β”œβ”€β”€ cf => Core functions as a library. **Not deployed**
β”‚   β”œβ”€β”€ cf_atom_feed => Atom feed.
β”‚   β”œβ”€β”€ cf_graphql => GraphQL API (public).
β”‚   β”œβ”€β”€ cf_jobs => Jobs.
β”‚   β”œβ”€β”€ cf_rest_api => REST/WS API (private).
β”‚   └── db => DB repository and schemas **Not deployed**
β”‚       β”œβ”€β”€ lib
β”‚       β”‚   β”œβ”€β”€ db
β”‚       β”‚   β”œβ”€β”€ db_schema => Contains all the schemas (Video, Speaker, Comment…etc)
β”‚       β”‚   β”œβ”€β”€ db_type => Special types (SpeakerPicture…etc.)
β”‚       β”‚   └── db_utils => Some utility functions
β”‚       └── priv
β”‚           └── repo/migrations => All DB migrations files
β”œβ”€β”€ README.md => You're reading it right now. Are you?
β”œβ”€β”€ rel => Release configs & tools
β”‚   β”œβ”€β”€ commands => Commands that will be available to run on the release (seed DB…etc.)
β”‚   β”œβ”€β”€ hooks => Some hooks for automatically run commands when release run.
β”‚   β”œβ”€β”€ runtime_config => Runtime configurations for all apps.
β”‚   └── config.exs => Release configuration.

Linked projects

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].