I'd say that it was an adaptation of the book. Although the movie also had differences (like Nick's prologue and epilogue as an alcoholic trying to find peace), the similarities are too much for it to not be based on Fitzgerald's novel and dismiss it as a movie of its own.