Skip to content

LukaszDembicki/GoogleFlashcards

Repository files navigation

Flashcards application. Sample Spring + next.js + mongoDB

Flashcard app, with Google Translator integration.

Working demo

http://googleflashcards.us/

You can login to this app using your google account.

Installation

Few steps described below are required to install app locally.

1. Create google application

You need `client-id` and `client-secret` . Here is instruction how to create and configure google app: https://developers.google.com/google-ads/api/docs/oauth/cloud-project

2. Run docker

run
docker-compose up

3. Run spring app

in `./src/main/resources/application.yml` paste your `client-id` and `client-secret`

then run

./mvnw spring-boot:run

If you dont have java installed locally

In case you don't have java installed locally, first install java:
sudo apt-get install openjdk-11-jdk
export JAVA_HOME=/usr/lib/jvm/java-11-openjdk-amd64

client

go to client folder `cd ./client`

In file next.config.js assign your client-id to const GOOGLE_ID

Then run:

npm install
npm run dev

License

The flashcards sample application is released under version 2.0 of the Apache License

About

Flashcards app with Google Translate integration.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published