GithubHelp home page GithubHelp logo

codergautam / vinaa Goto Github PK

View Code? Open in Web Editor NEW
5.0 1.0 1.0 253 KB

The best way to learn Tamil

Home Page: https://vinaa.net

JavaScript 99.80% Nix 0.11% CSS 0.09%
language language-learning nextjs react tamil tamil-language tamil-web tamilnadu learn-tamil tamil-learning

vinaa's Introduction

Vinaa

Quiz app built with NextJS, styled-components, and SQLite

Usage

First, you need to set the necessary environment variables:

  • GOOGLE_CLIENT_ID - Google client ID (necessary for auth); find it in the "Credentials" section of the Google Console
  • GOOGLE_CLIENT_SECRET - Google client secret
  • NEXTAUTH_SECRET - A random string, preferably 16 bytes, used to hash JWTs (handled by the next-auth package)
  • NEXTAUTH_URL - set this to your project's domain (or you will be redirected incorrectly)
  • SUBSCRIPTION_KEY - the subscription key for the Microsoft Speech API (used for tamil audio)
  • ADMINS - a JSON array of admin emails (e.g. ["[email protected]'])

For production:

npm run build # if project isn't yet built
npm start

Development mode:

npm run dev

Development

There are 6 root directories:

  • assets - contains assets that will be imported to React components
  • components - this contains reusable components from the project
  • pages - a required NextJS directory for file-system routing
  • public - assets you wish to be exposed by the server are stored here
  • server - this directory contains all the server-side logic for this project

Misc files:

  • next.config.js - custom config for the nextjs app
  • jsconfig.json - used to configure import aliases (e.g. import xyz from "@/api/xyz" instead of import xyz from "../../api/xyz")

This project uses SQLite as the database, and because this project doesn't rely on an API server, you can deploy your entire project just by running only this app!

The code is commented where comments are due, so go ahead! Remix and play around.

License

MIT

Credits

This project was written by @codergautam with special thanks to @codingjlu

vinaa's People

Contributors

codergautam avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

codingjlu

vinaa's Issues

Hosting on replit

Your gonna host this on replit right? It seems like the person needs to download this locally for it to work.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.