Table of Contents
This application offers a seamless and secure authentication process for users through the Google OAuth protocol. This protocol is widely used by various applications and websites, and it provides an easy and secure way for users to sign in without having to create a new account or remember a separate password.
By integrating the NASA image of the day into this application, I provide users with a daily dose of fascinating and inspiring space imagery. The NASA image of the day is curated by NASA's Earth Observatory team and showcases stunning photographs and visualizations of Earth, the solar system, and the universe. This application makes it easy for users to stay up-to-date with the latest NASA imagery and to explore the wonders of space.
- Front-end: React, HTML, Redux-toolkit, Tailwind css
- Back-end: Nodejs, Express
- Database: Mongodb
- Others: Passport authentication
This is a MERN stack project so you will have to run client and server both separately. Frontend side is stored in a client folder and backend side is stored in a server folder.
- Node js - you can download and install it from here
- Google Oauth credentials (client id, secret key) - for reference How to get google credentials?
- NASA API key - NASA api you can also checkout more informative apis by NASA and implement accordingly.
Below are the steps to install MY SPACE locally.
- Get a free NASA API Key from NASA api
- Get google oauth credentials here Now you are good to go with the application
- Clone the repo
git clone https://github.com/ritesh-7299/my-space.git
- Install NPM packages to both Client side and Server side
cd ./client/ npm install cd ./server/ npm install
- Go to client folder make
.env
file and copy all the content of.envExample
and add the value for all the .env variables - Similarly go to server foler make
.env
copy all the content of.envExample
and add the value for all the .env variables - Now all is set, follow below commands to run application
- Start server
cd ./server/ npm run dev
- Start client
cd ./client/ npm start
Your project is running and you should see below screen..
- TWITTER - https://twitter.com/ritesh_macwan7
- EMAIL - riteshmacwan07@gmail.com
- GITHUB - https://github.com/ritesh-7299